主题: 本机透过 sendmail 命令进行测试,为何会没有经过检查机制?

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.2
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:Centos 6.5

我于邮件伺服器下指令进行测试
sendmail -i test@bruce.com < sample-virus-simple.txt
(sample-virus-simple.txt 是amavisd-new 提供的)

但信件寄出却没有经过检查机制(amavisd-new)
maillog 为:


Sep 17 12:16:00 mail postfix/pickup[3142]: 56B00178186A: uid=0 from=<root>
Sep 17 12:16:00 mail postfix/cleanup[3147]: 56B00178186A: message-id=<20150917041600.56B00178186A@mail.bruce.com>
Sep 17 12:16:00 mail postfix/qmgr[3141]: 56B00178186A: from=<root@mail.bruce.com>, size=415, nrcpt=1 (queue active)
Sep 17 12:16:00 mail postfix/pipe[3214]: 56B00178186A: to=<test@bruce.com>, relay=dovecot, delay=0.52, delays=0.22/0/0/0.3, dsn=2.0.0, status=sent (delivered via dovecot service)
Sep 17 12:16:00 mail postfix/qmgr[3141]: 56B00178186A: removed

请问要如何于本机进行测试才会经过检查机制呢?

回复: 本机透过 sendmail 命令进行测试,为何会没有经过检查机制?

使用标准 smtp 协议发送即可。例如使用 webmail 发送邮件。