Re: error writing to filter (bogofilter)
Sam Varshavchik <[email protected]>
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
Christian Ebert writes: > * Christian Ebert on Thursday, June 13, 2013 at 14:04:24 +0100 > > > What shall I do? Take it to the bogofilter list? Switch back to > > procmail - it has no trouble with exactly the same message(s)? > > Sorry for having sounded a bit harsh, but I'm a sorta desperate > here - I had taken my entire postfix config apart before I nailed > it down to this rather trivial cause. > > Are you suggesting that the only way around this in practice is: > 1. inspect the postfix queue > 2. in case there is this problem, disable bogofilter by > temporarily changing the mailfilter > 3. sendmail -q > 4. reinstate bogofilter in the mailfilter > > At least for me this is not even a workaround. > > Would it help if I sent you one of the "offending" messages > via pm for inspection? Looking at the message won't be very useful. There's nothing wrong with the message itself, but rather with what bogofilter appears to be doing; namely failing to read the message and terminating before doing that. It's unlikely that one can tell why, just by looking at the message itself. The only thing I know is that the whole purpose of the "xfilter" command is to pass the contents of the message to "something external", which is expected to read it, and create a new message that maildrop uses as a replacement message for further filtering or delivery. Although I'm not familiar with bogofilter, looking at its man page the -p option seems to be doing just that. But if that "something external" clearly terminates before it reads the entire message, then something obviously went wrong. If whatever's procmail's equivalent to "xfilter" is, ignores this, and blissfully carries on, that's procmail's call, but I don't think that's a smart decision. You should look at what bogofilter is printing, for the offending messages. It can't be the original message, if bogofilter isn't even reading it. Perhaps looking at bogofilter's output, for the message, will provide more clues. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Courier-maildrop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/courier-maildrop
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) iEYEABECAAYFAlG7nn0ACgkQx9p3GYHlUOIUyQCeK2hK3y37GvkqtbMNAhmhA8Ui BCAAn3GW5vCvrfL4ovvrsLnI6336dzqG =xqZT -----END PGP SIGNATURE-----