Re: help for spamassassin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2003-12-03 at 18:45, Fulvio wrote:

> This is my .procmailrc:
>
> MAILDIR=/home/fulvio/Mail/
> DEFAULT=/home/fulvio/Mail/inbox
> #log
> VERBOSE = yes
> LOGABSTRACT = all
> LOGFILE=/home/fulvio/log/procmail.log
> LOCKFILE=/home/fulvio/.lockmail
> 
> :0:
> * ^X-Spam-Status: Yes
> spam
> 
> :0:
> * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> sicurospam
> 
> :0:
> * ^X-Spam-Status: Yes
> probabilespam
> 
> :0fw
> | /usr/bin/spamc
> 
> INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc

You are checking the mail headers before you are filtering the mail
through spamassassin, so you will never trigger any spam rules.  Move
the INCLUDERC for spammassassin up before the X-Spam-* recipes.

You might want to use spamassassin-spamc.rc instead if you are running
spamd (spamc is a faster version of spamassassin that talks to spamd).

Also you have checked X-Spam-Status twice in your procmail recipes.  If
the first one matches and puts the mail in "spam" you'll never get to
the rule which puts it in "probabilespam" and probably never get to the
rule that checks X-Spam-Status either.  You probably should just delete
the first X-Spam-Status recipe.

-- 
Kevin Street
street@xxxxxxxxxx




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux