wild_oscar wrote:

> I've run sa-update to update spam rules.

> How can I make sure amavis is using the new rules?  I've run amavisd-new
> debug-sa. I get a bunch of lines, including

> Oct 26 12:39:21.605 mail.me.com /usr/sbin/amavisd-new[4518]: Module
> Mail::SpamAssassin  3.002005

> But I get no info on the rule set that is being used (and which is being
> stored at  /var/lib/spamassassin/3.002005/).

> Thank you

amavisd calls spamassassin. To check if a message is spam you can also
run

  su vscan -c 'spamassassin -D -t < message.msg'

to check if any of the rules match.

vscan is the user amavisd runs as - maybe you use another one.

If spamassassin uses your updated or custom rules when you run sa
manually then it should also work if amavisd calls sa.

Don't forget to run "spamassassin --lint" to check your rules for
typos or any other other errors. If you get no errors than your
updated or custom rules are OK.


Daniel


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to