root@intranet:/usr/local/postfix/domain.com/[email protected]/cur# sa-learn --username=amavis --ham --no-sync 1424336248.M774711P19603V0000000000000801I0000000000DA602A_12.intranet\,S\=4806\:2\,SLearned tokens from 1 message(s) (1 message(s) examined)root@intranet:/usr/local/postfix/domain.com/[email protected]/cur# sa-learn --username=amavis --syncbayes: synced databases from journal in 0 seconds: 145 unique entries (145 total entries)
root@intranet:/usr/local/postfix/domain.com/[email protected]/cur# tail -f /var/log/mail.infoFeb 19 06:58:39 intranet postfix/qmgr[1535]: 8DE3923800E: from=<[email protected]>, size=4909, nrcpt=1 (queue active)Feb 19 06:58:39 intranet postfix/smtpd[2000]: disconnect from localhost[127.0.0.1]Feb 19 06:58:39 intranet postfix/virtual[2012]: 8DE3923800E: to=<[email protected]>, relay=virtual, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)Feb 19 06:58:39 intranet postfix/qmgr[1535]: 8DE3923800E: removedFeb 19 06:58:39 intranet postfix/smtpd[2000]: connect from localhost[127.0.0.1]Feb 19 06:58:39 intranet postfix/smtpd[2000]: 911C823800E: client=localhost[127.0.0.1]Feb 19 06:58:39 intranet postfix/cleanup[2009]: 911C823800E: message-id=<[email protected]>Feb 19 06:58:39 intranet postfix/qmgr[1535]: 911C823800E: from=<[email protected]>, size=4052, nrcpt=1 (queue active)Feb 19 06:58:39 intranet postfix/smtpd[2000]: disconnect from localhost[127.0.0.1]Feb 19 06:58:39 intranet postfix/smtpd[2000]: connect from localhost[127.0.0.1]Feb 19 06:58:39 intranet postfix/virtual[2012]: 911C823800E: to=<[email protected]>, relay=virtual, delay=0.01, delays=0.01/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)Feb 19 06:58:39 intranet postfix/qmgr[1535]: 911C823800E: removedFeb 19 06:58:39 intranet postfix/smtpd[2000]: 9377223800E: client=localhost[127.0.0.1]Feb 19 06:58:39 intranet postfix/cleanup[2009]: 9377223800E: message-id=<[email protected]>Feb 19 06:58:39 intranet postfix/smtpd[2000]: disconnect from localhost[127.0.0.1]Feb 19 06:58:39 intranet postfix/qmgr[1535]: 9377223800E: from=<[email protected]>, size=4821, nrcpt=1 (queue active)Feb 19 06:58:39 intranet postfix/virtual[2012]: 9377223800E: to=<[email protected]>, relay=virtual, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)Feb 19 06:58:39 intranet postfix/qmgr[1535]: 9377223800E: removedFeb 19 06:58:39 intranet amavis[1979]: (01979-03) Passed SPAM, [65.54.190.76] [65.54.190.123] <[email protected]> -> <[email protected]>, quarantine: [email protected], Message-ID: <[email protected]>, mail_id: LYzBJOg5wkaz, Hits: 1002.439, size: 4016, queued_as: 9377223800E, 804 msFeb 19 06:58:39 intranet postfix/smtp[2010]: 37166A0E786: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.8, delays=0.99/0/0/0.81, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01979-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 9377223800E)Feb 19 06:58:39 intranet postfix/qmgr[1535]: 37166A0E786: removed The spamassain not learn. Always back to SPAM
