postfix (spamassasn)+ fetchmail
Justin
jtrae at sunflower.com
Wed Sep 24 12:46:49 CDT 2003
misc wrote:
> I was wondering if there was a way to use fetchmail to get email from
> the pop account and then run it through the spamassan/virus scan. I
> had a thought of having fetchmail deliver to the smtp @ 10000? or
> what ever spamassan's front end is at but wasnt shure
> any suggestions?
Instead of delivering it to the spamassasin daemon you could pipe it
directly to /usr/bin/spamassassin from Procmail. Here is an example recipe:
:0fw: spamassassin.lock
* < 256000
| /usr/bin/spamassassin
:0:
* ^X-Spam-Status: Yes
.zzz-spam/
More information about the Kclug
mailing list