please help with procmail recipe for spam assassin -> bogofilter

prosolutions at gmx.net prosolutions at gmx.net
Fri Apr 18 21:35:41 CEST 2003


I am using Spam Assassin and want to use it to train Bogofilter.  Here is my .procmailrc for it:

#========SPAM ASSASSIN SECTION================
:0fw
| spamassassin -P

:0e
#EXITCODE==$?
{ EXITCODE=75 HOST }

:0:
* ^X-Spam-Flag: YES
junk

#=======END SPAM ASSASSIN SECTION==================

What recipe can I use so that stuff destined for "junk" will also get sent to bogofilter using the -s switch?  Also, is there a way to have stuff that Spam Assassin accepts as non-spam to pass through Bogofilter with the -n switch?



Many thanks,





D.




More information about the Bogofilter mailing list