Mark Martinec wrote:
> James,
> 
> > 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;
> 
> http://www.ijs.si/software/amavisd/#faq-spam
> -> Does SpamAssassin observe settings in its configuration file
> local.cf? 
> -> SpamAssassin has configuration options to modify mail body and
>    header, but they seem to be ignored.
> ...

Yes, but that doesn't explain why his extra rule was ignored.  Rules
created in local.cf should still be used by SA.  This particular rule
should match on EVERY email, so any time amavisd adds a list of rule
hits to an email, this rule should be there.  If he is not seeing it,
then something else is going on.

(Unless I'm missing something obvious...)

-- 
Bowie


-------------------------------------------------------
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