I recently set up amavisd-new with postfix/dovecot/clamav on my test
server.  It appears to be working.  I'm just not sure if it is going
through spamassassin.  Is there an easy way to test?  Here are the logs
from a test email.

Nov  6 10:52:25 pettijohn postfix/smtpd[18619]: connect from
blu004-omc4s25.hotmail.com[65.55.111.164]
Nov  6 10:52:26 pettijohn postfix/smtpd[18619]: 5AF952FC3BB:
client=blu004-omc4s25.hotmail.com[65.55.111.164]
Nov  6 10:52:26 pettijohn postfix/cleanup[18623]: 5AF952FC3BB:
message-id=<[email protected]>
Nov  6 10:52:26 pettijohn postfix/qmgr[18616]: 5AF952FC3BB:
from=<[email protected]>, size=979, nrcpt=1 (queue active)
Nov  6 10:52:26 pettijohn amavis[18397]: (18397-03)
ESMTP:[127.0.0.1]:10024
/var/amavis/tmp/amavis-20141106T102235-18397-lomgnvO4:
<[email protected]> -> <[email protected]> SIZE=979
Received: from pettijohn.localdomain ([127.0.0.1]) by pettijohn
(pettijohn.no-ip.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
for <[email protected]>; Thu,  6 Nov 2014 10:52:26 -0600 (CST)
Nov  6 10:52:26 pettijohn amavis[18397]: (18397-03) Checking:
QO-CSIHcZjuB [65.55.111.164] <[email protected]> ->
<[email protected]>
Nov  6 10:52:26 pettijohn postfix/smtpd[18619]: disconnect from
blu004-omc4s25.hotmail.com[65.55.111.164]
Nov  6 10:52:27 pettijohn postfix/smtpd[18625]: connect from
localhost[127.0.0.1]
Nov  6 10:52:27 pettijohn postfix/smtpd[18625]: 11B0C2FC68F:
client=localhost[127.0.0.1]
Nov  6 10:52:27 pettijohn postfix/cleanup[18623]: 11B0C2FC68F:
message-id=<[email protected]>
Nov  6 10:52:27 pettijohn amavis[18397]: (18397-03) QO-CSIHcZjuB FWD
from <[email protected]> -> <[email protected]>, BODY=7BIT 250
2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 11B0C2FC68F
Nov  6 10:52:27 pettijohn postfix/qmgr[18616]: 11B0C2FC68F:
from=<[email protected]>, size=1394, nrcpt=1 (queue active)
Nov  6 10:52:27 pettijohn amavis[18397]: (18397-03) Passed CLEAN
{RelayedInbound}, [65.55.111.164]:56275 [65.55.111.136]
<[email protected]> -> <[email protected]>, Queue-ID:
5AF952FC3BB, Message-ID:
<[email protected]>, mail_id: QO-CSIHcZjuB,
Hits: -, size: 978, queued_as: 11B0C2FC68F, 317 ms
Nov  6 10:52:27 pettijohn postfix/smtp[18624]: 5AF952FC3BB:
to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024,
delay=0.94, delays=0.57/0.03/0.03/0.32, dsn=2.0.0, status=sent (250
2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 11B0C2FC68F)
Nov  6 10:52:27 pettijohn amavis[18397]: (18397-03) size: 978, TIMING
[total 343 ms] - SMTP greeting: 16 (5%)5, SMTP EHLO: 3.6 (1%)6, SMTP
pre-MAIL: 4.8 (1%)7, SMTP pre-DATA-flush: 13 (4%)11, SMTP DATA: 91
(27%)38, check_init: 3.1 (1%)38, digest_hdr: 8 (2%)41, digest_body_dkim:
1.5 (0%)41, collect_info: 11 (3%)45, check_header: 8 (2%)47,
decide_mail_destiny: 4.9 (1%)48, notif-quar: 3.0 (1%)49, fwd-connect: 68
(20%)69, fwd-mail-pip: 27 (8%)77, fwd-rcpt-pip: 1.5 (0%)77,
fwd-data-chkpnt: 0.4 (0%)77, write-header: 3.7 (1%)79,
fwd-data-contents: 0.4 (0%)79, fwd-end-chkpnt: 11 (3%)82, prepare-dsn:
2.6 (1%)83, report: 7 (2%)85, main_log_entry: 31 (9%)94, update_snmp: 16
(5%)98, SMTP pre-response: 1.4 (0%)99, SMTP response: 2.0 (1%)99,
rundown: 2.3 (1%)100
Nov  6 10:52:27 pettijohn postfix/qmgr[18616]: 5AF952FC3BB: removed
Nov  6 10:52:27 pettijohn postfix/smtpd[18625]: disconnect from
localhost[127.0.0.1]
Nov  6 10:52:27 pettijohn dovecot: lda([email protected]):
msgid=<[email protected]>: saved mail to INBOX
Nov  6 10:52:27 pettijohn postfix/pipe[18626]: 11B0C2FC68F:
to=<[email protected]>, relay=dovecot, delay=0.31,
delays=0.05/0.09/0/0.17, dsn=2.0.0, status=sent (delivered via dovecot
service)
Nov  6 10:52:27 pettijohn postfix/qmgr[18616]: 11B0C2FC68F: removed

Thanks in advance.

Reply via email to