[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fetchmail stuck on bad messages



On Mon, Aug 18, 2003 at 12:57:59AM -0400, Derrick 'dman' Hudson wrote:
> procmail can do things that exim can't (for example, changing a
> message via a filter, such as spamassassin, and then making delivery
> decisions based on the external program's output).

With apologies for contradicting the exim guru, exim can do this with
a little help from the shell. My Exim filter sends any mail without a
spambayes header to a script, and then stops processing. The script
pipes the mail through spambayes and pipes the output from spambayes
into exim -bm. On this pass exim filters on the spambayes header and
delivers the mail to 'new', 'dubious' and 'spam' boxes as appropriate.
I handle stripping the adverts out of yahoo list traffic the same way.
The fact that the message passes through exim twice is kind of clunky,
but it works fine and is easy to set up.

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: pgpUekj6Bpx9j.pgp
Description: PGP signature


Reply to: