List Info

Thread: amavis does not add X-Spam-Status and X-Spam-Level despite proper spam_tag_level




amavis does not add X-Spam-Status and X-Spam-Level despite proper spam_tag_level
user name
2006-04-01 21:26:03
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,__MSGI
D_OK_HEX,__N 
ONEMPTY_BODY,__SANE_MSGID,__SARE_HEAD_MIME_VALID,__TOCC_EXIS
TS
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,   
"jeremycloud.cs.berkeley.edu" 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 <jeremycloud.cs.berkele
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(jeremycloud.cs.berkeley.edu), no
match
Apr  1 13:08:14 cloud.outersquare.org
/usr/sbin/amavisd[31161]:  
(31161-01) lookup (local_domains) => undef,  
"jeremycloud.cs.berkeley.edu" does not
match
Apr  1 13:08:14 cloud.outersquare.org
/usr/sbin/amavisd[31161]:  
(31161-01) query_keys: jeremycloud.cs.berkeley.edu,
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(jeremycloud.cs.berkeley.edu), no
matches
Apr  1 13:08:14 cloud.outersquare.org
/usr/sbin/amavisd[31161]:  
(31161-01) lookup (bypass_spam_checks) => undef,  
"jeremycloud.cs.berkeley.edu" 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,   
"jeremycloud.cs.berkeley.edu" 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,   
"jeremycloud.cs.berkeley.edu" 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  
<jeremycloud.cs.berkeley.edu>: 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:  
<jeremyhucalmail.berkeley.edu> -> <jeremycloud.cs.berkeley.edu>



-------------------------------------------------------
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
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
amavis does not add X-Spam-Status and X-Spam-Level despite proper spam_tag_level
user name
2006-04-02 03:21:13
Jeremy wrote:

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

> Apr  1 13:08:14 cloud.outersquare.org
/usr/sbin/amavisd[31161]:
> (31161-01) lookup (local_domains) => undef,  
> "jeremycloud.cs.berkeley.edu" does not
match

This is a FAQ. See the section "No spam-related
headers inserted?"
 http://w
ww.ijs.si/software/amavisd/#faq-spam

The recipient domain must be considered 'local', so add it
to:
local_domains_maps = ( [".$mydomain",
'cloud.cs.berkeley.edu' ] );

For all subdomains/hosts at cs.berkeley.edu it would be:
local_domains_maps = ( [".$mydomain",
'.cs.berkeley.edu' ] );

Gary V



-------------------------------------------------------
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
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )