Jeff, > As far as the SA utilities are concerned, is there any difference between > amavis-new+SA, or SA as a standalone filter? Such as 'sa-learn', > 'sa-update'.
As long as SA utilities are invoked as the same user as amavisd runs under, they should be seeing the same environment, rules, plugins, *.cf files etc. This means you should be running sa-learn etc. as: su vscan -c 'spamassassin --lint' su vscan -c 'sa-learn --spam --mbox 0.mbx' su vscan -c 'spamassassin [EMAIL PROTECTED]' su vscan -c 'spamassassin -t -D <0.msg' An exception is sa-update, which is a system manager's tool, and is usually run as root, to be able to write into /var/lib/spamassassin/ > I understand that SA generally ignores settings in it's local config, > which is why I ask. That's one way of saying it, but is conceptually wrong. It is better to think that SA (even when called by amavisd) does see and observe all settings in *.cf files and rules, it's just that amavisd does not ask SA to rewrite/modify a message, which means setting which affect rewriting of a message have no visible effect on passed mail. >> IIRC, Amavisd-new ignores SA local setting file local.cf. This is not correct, local.cf and other .cf files in /usr/local/etc/mail/spamassassin/ are normally seen and observed by all frontends to Mail::SpamAssassin such as amavisd, spamd, spamassassin. Mark ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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/
