How do eliminate SPAM from my mailbox?
Richard E Miles
r.godzilla at comcast.net
Fri Jul 23 20:49:02 UTC 2004
> Richard E Miles wrote:
>> I have set up procmail to call spamd (spamassassin) and to use Vipuls
>> razor-check. The mail is correctly being filtered for SPAM. I see SPAM
>> on the messages in my mail, but how
>> do I get it to drop these SPAM mails from my mailbox?
>>
> You have to use another procmail rule to check the headers of the
> messages. In my case , here's what I use:
> ### spamassassin rule
> :0 fw spamassassin.lock
> | /usr/bin/spamc
> ## SPAM
> :0:
> *^X-Spam-Status: Yes.*
> $MAILDIR/spam
> This moves all the messages that spamassassin marks as spam to my spam
> folder.. Dont know if vipuls adds any headers , but probably it does..
> You only have to see which header it adds and create a rule for it in
> procmail... Or , if it doesnt add any header , you can use its exit code
> too (man procmail and man procmailex have good details about it).
Thanks Pedro. I will put these rules in procmail.
--
Richard E Miles
Federal Way WA.
registered linux user 46097
More information about the fedora-list
mailing list