From: Mark M. <Mar...@ij...> - 2004-05-28 19:45:03
|
Dave Belfer-Shevett, Wow, the author of keystone, where we meet after years :) > I started fiddling with amavisd rules and settings, and at the moment, > all SA filters are being ignored. Very frustrating. According to your log, SA is being called. > 1) the sa_tag_level_dflt settings are being read (as seen in debug > output), but the X-Spam-Status: lines are not being added. X-Spam* header fields are only inserted for recipients which are considered local, i.e. matching @local_domains_acl, which is not the case in your setup, you have: @local_domains_acl = qw(); # default is empty, no recipient treated as local which means no user is considered local, so you will never see X-Spam* headers. Your commented-out setting is better: @local_domains_acl = ( ".$mydomain", '.stonekeep.com', '.mosaic-commons.org' ); > 2) At the moment, SA is not running at -all- on any inbound mail, but > all the debugging output is showing that its there. It is running: May 28 12:19:50 seawall.homeport.org amavisd[98934]: (98934-01) CALLING NoMailAudit::check May 28 12:19:51 seawall.homeport.org amavisd[98934]: (98934-01) RETURNED FROM NoMailAudit::check, time left: 0 s May 28 12:19:51 seawall.homeport.org amavisd[98934]: (98934-01) prolong_timer after spam_scan_SA: remaining time = 300 s May 28 12:19:51 seawall.homeport.org amavisd[98934]: (98934-01) spam_scan: hits=-3.923 tests=BAYES_00,MSGID_FROM_MTA_BACKUP,NO_REAL_NAME > 3) It appears that local.cf rules in > /usr/local/etc/mail/spamassassin/local.cf are not being used (in fact, > no rules are being used at ht emoment :) The sa debug log appears ok. Just remember that local.cf is consulted, but mail rewriting is done by amavisd, so any SA options that affect the header or body rewriting do not affect the result - only the returned SA score matters. See amavisd-new web page. Mark |