procmail
[Top] [All Lists]

Spamassassin in .procmailrc

2009-07-01 11:33:44
Hello.

I still have problems grasping the use of spamassassin in .procmailrc.

I have this .procmailrc:
--------------------------------------------------------------------------
SENDMAIL=/usr/local/bin/msmtp
VERBOSE=yes

:0fw: spamassassin.lock
| spamassassin

:0
* ^X-Spam-Flag:.*YES
/home/fab/Mail/Trashcan
--------------------------------------------------------------------------

If a message is marked as spam by spamassassin, it then has a 'X-Spam-Flag:
YES' in its headers, so it should end up in /home/fab/Mail/Trashcan?

If after these two rules I had

:0
* !Subject:.*[LCS]
! <mail address at hotmail.com>

then all mail that is not marked as spam by spamassassin, and doesn't have
the [LCS] tag in its header should be forwarded to my mail box on
hotmail.com, am I right?

Thanks.

-- 
Fabrice DELENTE
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>