Bowie, Jay, > > > 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
> > > 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... > > http://www.ijs.si/software/amavisd/#faq-spam > > -> Does SpamAssassin observe settings in its configuration file Sorry, I wasn't precise. I was referring to required_score, which has no effect. > Yes, but that doesn't explain why his extra rule was ignored. Rules > created in local.cf should still be used by SA. Indeed, rules in local.cf and other .cf files should still be followed. | Ok, well this being the case, what would be the recommended way to introduce | new rules, enable bayes etc... from amavis? These should be fine just as well. SA settings to control bayes, dcc, razor etc. in local.cf are followed normally. If they are not for some reason, starting as: amavisd debug-sa and observing the first couple of screenfulls for SA problem reports should usually reveal the cause. Perhaps permission problems or running chrooted. Testing with a 'spamassassin' and 'sa-learn' commands should always be done as user vscan. If these work correctly, so should SA when invoked by amavisd. > 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. Try rules and other settings first with: su vscan -c 'spamassassin -t -D <0.txt' Mark ------------------------------------------------------- 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/
