need help with procmail recipe
Barry Gould
BarryGould at PennySaverUSA.net
Fri Sep 13 02:52:29 CEST 2002
<x-flowed>
Hi, I'm trying to get bogofilter integrated into procmail.
I would like to modify the original recipe from the man file so that it
does the following:
tests, registers the mail as spam or ham, and ads the tag (X-Spam-Status)
I seem to be having a problem where procmail hangs and bogofilter doesn't
seem to be running (maybe it crashed?). I was running 0.7, 0.73 behaves
similarly.
bogofilter works fine from the command line.
adding locks to the procmailrc didn't help, and maybe even made things worse.
below is my /etc/procmailrc, any suggestions are appreciated.
Thanks,
Barry
-------------------------------------------
MAILDIR=/var/spool/mail
HOME=/var/spool/mail
#backup everything first
:0HBc:
backup
#end backup
# bogofilter
:0HB:
* ? bogofilter
{
:0HBc:
| bogofilter -s
}
#else (E)
:0EHBc:
{
| bogofilter -h
}
#always
:0fw:
{
| bogofilter -p
}
# end bogofilter
#spamassassin in daemon mode as user mail
#:0fw
#| spamc -u mail
#end spamassassin
-------------------------------------------
Barry Gould
Site Administrator, Harte-Hanks Shoppers
714-577-4313 or 877-244-4421
http://www.pennysaverusa.com
http://www.theflyer.com
FAQ: ftp://bogofilter.aotto.com/pub/bogofilter/bogofilter-faq.html
For summay digest subscription: bogofilter-digest-subscribe at aotto.com
</x-flowed>
More information about the Bogofilter
mailing list