14 Dec
2008
14 Dec
'08
7:55 p.m.
Rick Romero wrote:
Timo Sirainen wrote:
On Sat, 2008-12-13 at 15:04 -0500, Neal Becker wrote:
I'm using maildrop to filter mail like:
xfilter "/usr/bin/spamc" xfilter "/usr/bin/bogofilter -ep"
I want to change to deliver (so I can use sieve) but can deliver do this?
deliver can't execute external programs. Typically you'd run these programs first and then deliver. I don't know about spamc/bogofilter, but spamassassin for example:
Here's what I did:
spam_and_deliver.sh:
#!/bin/bash cat - | /usr/bin/spamc | /usr/bin/bogofilter -ep | /usr/libexec/dovecot/deliver
.fetchmailrc
blah blah ... mta /path/to/spam_and_deliver.sh
seems to work.