how to print spamassassin test on amavisd-new log

ahmad riza h nst rizahnst at
Wed Sep 21 09:13:26 CEST 2011

hi all,

i am new to amavis and postfix, but have some experiences on qmail and

i remember when i installed (from port) amavisd-new 2.6.x + postfix
2.7.x + spamassassin 3.2.5 on freebsd7.4 (log_level = 2 on
amavisd.conf), /v/l/maillog can print spamassassin score and test like
(this eg. from qpsmtpd log)

Wed Sep 21 13:10:17 2011 xxxxxxxxxxxxxxx: check_spam: No, hits=1.9,

then i did portsnap update which upgrade amavisd-new to 2.7.x and
installed it on another host, /v/l/maillog didn't print spamassassin
test (even when log_level =5 on amavisd.conf);

Sep 21 12:08:18 smtp4 amavis[72715]: (72715-02) Passed CLEAN
{RelayedOpenRelay}, [xxxxxxxxx]:45256 [xxxxxxxxx] <welcome at>
-> <ahmadgm at>, Message-ID:
<3925e951dec9c5b0dfaa75b1f20835d3 at localhost>, mail_id: cAjPk0SWhMxb,
Hits: -0.503, size: 175474, queued_as: 28FBA286F5, 6791 ms

but in there are spamassassin test and score printed on email header;

X-Old-Spam-Status: No, score=2.8 tagged_above=-999 required=8
    	tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,
    	T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=disabled
X-Old-Spam-Level: **

Q: what i missed?
please help,


More information about the amavis-users mailing list