> > What SpamAssassin config files are used when invoked from Amavis?
> 
> Generally, /etc/spamassassin/*.cf. But the amavis 
> configuration file contains some things that take precedence 
> over the SpamAssassin configuration files (like subject 
> tagging, spam points etc). You'll have to set these in 
> /etc/amavisd.conf. Look for configuration variables with the 
> $sa_ and $spam_ prefix.

This is what I figured, however I added several lines to
/etc/spamassassin/local.cf that didn't seem to have any effect, so to test
the theory I added...

Header TEST_E ALL =~ /e/
Describe TEST_E Found an E in the header
Score TEST_E 0.01

To the config file and that should trigger on almost every email sent
through the server.  If I run "spamassassin -D --lint" it executes the rule
just fine, however that has NEVER appeared as a trigered rule on a single
email.

Secondly I added "required_score        5.0" to the config and the amavis
files say that should override the Amavis setting of 4 in the
/etc/amavis/amavisd.conf file set by the line...

$sa_tag2_level_deflt = 4.0;

So clearly these two test show that the /etc/spamassassin/local.cf file is
not being used.  Any other ideas?

--
Jay



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
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