检查SPAMASSASSIN是否正常

这样查
第一步:
检查SPAMASSASSIN是否正常
#spamassassin -t mail
第二步:
#telnet localhost 25
mail from:<[email protected]>
rcpt to:<[email protected]>
data
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
.
quit
#tail -30 /var/log/maillog
查看日志,如果出现类似如下提示,则表明成功
Nov 6 22:10:51 localhost amavis[18263]: (18263-01) Blocked SPAM, LOCAL [127.0.0.1] [127.0.0.1] <[email protected]> -> <[email protected]>, quarantine: spam-JH2LSCT1MLYg.gz, Message-ID: <[email protected]>, mail_id: JH2LSCT1MLYg, Hits: 1005.902, 3591 ms