<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 June 2017 at 13:13, Scappatura Rocco <span dir="ltr"><<a href="mailto:Rocco.Scappatura@infracom.it" target="_blank">Rocco.Scappatura@infracom.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I have Debian Lenny with postfix+amavisd-new+<wbr>spamassassin+clamav.<br>
<br>
I have detected that a message has been quarantined:<br>
<br>
Jun 22 11:45:48 av8 amavis[22610]: (22610-11) Blocked SPAM {DiscardedOpenRelay,<wbr>Quarantined}, [xxx.yyy.zzz.uuu]:50412 [xxx.yyy.zzz.uuu] <<a href="mailto:aaa@example.com">aaa@example.com</a>> -> <bbb@mydomain>, quarantine: z/spam-zRJd9Wo5250M.gz, Queue-ID: 8647AD5DBA, Message-ID: <<wbr>776AB7C587CC457C95FF35582FC9F0<wbr>E1@AutoRPZ.local>, mail_id: zRJd9Wo5250M, Hits: 6.793, size: 77514, 364 ms<br>
<br>
But I have checked it against spamassassin:<br>
<br>
gunzip -c z/spam-zRJd9Wo5250M.gz | spamassassin -t<br>
<br>
and I get:<br>
<br>
.<br>
.<br>
.<br>
<br>
Content analysis details: (4.1 points, 5.0 required)<br>
<br>
pts rule name description<br>
---- ---------------------- ------------------------------<wbr>--------------------<br>
0.0 HTML_MESSAGE BODY: HTML included in message<br>
0.4 MIME_HTML_MOSTLY BODY: Multipart message mostly text/html MIME<br>
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%<br>
[score: 0.0000]<br>
0.8 MPART_ALT_DIFF BODY: HTML and text parts are different<br>
1.7 HTML_IMAGE_ONLY_08 BODY: HTML: images with 400-800 bytes of words<br>
0.0 TVD_SPACE_RATIO No description available.<br>
1.4 SHORT_HELO_AND_INLINE_IMAGE Short HELO string, with inline image<br>
1.8 IMG_DIRECT_TO_MX No description available.<br>
<br>
So the total score is 4,2.<br>
<br>
In amavisd configuraton file I have set:<br>
<br>
$sa_spam_subject_tag = '[Spam] ';<br>
$sa_tag_level_deflt = 2.0; # add spam info headers if at, or above that level<br>
$sa_tag2_level_deflt = 6.31; # add 'spam detected' headers at that level<br>
$sa_kill_level_deflt = 6.31; # triggers spam evasive actions<br>
$sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent<br>
<br>
How the the score 6.793 of amavis is obtained?<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">If you look at this mail in your quarantine it should have 'X-Spam-Status' header added by amavis showing how the score was calculated. Amavis doesn't only use spamassassin for the calculation.</div></div><br></div></div>