I have tried setting $sa_tag_level_deflt = -100.0 and undef, but
neither way results in the headers being added. From the logs
(snippet below), spamassassin runs correctly and determines the spam
level, but it doesn't add the headers. Additionally, when the spam
level is above the kill level, the message is properly quarantined by
amavisd, and examining a quarantined message shows that it was tagged
with the headers. The only problem is the headers aren't added to
mail that scores below the spam_kill_level.
I am using amavisd-new-2.3.3 (20050822)
Thanks for your help.
[31161] dbg: check: is spam? score=-3.525 required=5
[31161] dbg: check: tests=ALL_TRUSTED,AWL,BAYES_00
[31161] dbg: check:
subtests=__CT,__CTE,__CTYPE_CHARSET_QUOTED,__CT_TEXT_PLAIN,__HAS_MSGID,_
_HAS_RCVD,__HAS_SUBJECT,__HAS_X_MAILER,__MIME_VERSION,__MSGID_OK_HEX,__N
ONEMPTY_BODY,__SANE_MSGID,__SARE_HEAD_MIME_VALID,__TOCC_EXISTS
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) RETURNED FROM SA check, time left: 30 s
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) prolong_timer after spam_scan_SA: remaining time = 300 s
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) spam_scan: score=-3.525 tests=
[ALL_TRUSTED=-1.8,AWL=0.874,BAYES_00=-2.599]
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) prolong_timer after spam_scan: remaining time = 300 s
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) lookup: (scalar) matches, result="8"
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) lookup (spam_kill_level) => true,
"[EMAIL PROTECTED]" matches, result="8",
matching_key="(constant:8)"
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) header: Received: from cloud.cs.berkeley.edu ([127.0.0.1])
\n by localhost (cloud.outersquare.org [127.0.0.1]) (amavisd-new,
port 10024)\n with ESMTP id 31161-01 for <[EMAIL PROTECTED]
y.edu>;\n Sat, 1 Apr 2006 13:08:13 -0800 (PST)\n
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) lookup_acl([EMAIL PROTECTED]), no match
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) lookup (local_domains) => undef,
"[EMAIL PROTECTED]" does not match
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) query_keys: [EMAIL PROTECTED], jeremy@,
cloud.cs.berkeley.edu, .cloud.cs.berkeley.edu, .cs.berkeley.edu, .berkel
ey.edu, .edu, .
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) lookup_hash([EMAIL PROTECTED]), no matches
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) lookup (bypass_spam_checks) => undef,
"[EMAIL PROTECTED]" does not match
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) lookup: (scalar) matches, result="-100"
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) lookup (spam_tag_level) => true,
"[EMAIL PROTECTED]" matches, result="-100",
matching_key="(constant:-100)"
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) lookup: (scalar) matches, result="5"
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) lookup (spam_tag2_level) => true,
"[EMAIL PROTECTED]" matches, result="5",
matching_key="(constant:5)"
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) headers CLUSTERING: NEW CLUSTER
<[EMAIL PROTECTED]>: score=-3.525, tag=0, tag2=0, subj=0,
subj_u=0, local=0, bl=, s=
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) header: X-Virus-Scanned: amavisd-new at outersquare.org\n
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) headers CLUSTERING: done all 1 recips in one go
Apr 1 13:08:14 cloud.outersquare.org /usr/sbin/amavisd[31161]:
(31161-01) (about to connect to [127.0.0.1]:10025) FWD via SMTP:
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>
-------------------------------------------------------
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/