- 论坛徽章:
- 0
|
本人实验环境:
node103.cluster.com 10.1.2.103 用户terry
在安装了mimedefang后,发现无法发送邮件,log报错
[root@node103 mail]# tail -f /var/log/maillog
Jul 23 13:51:32 node1 sendmail[17180]: n6N5pW2r017180: from=root, size=138, class=0, nrcpts=1, msgid=<200907230551.n6N5pW2r017180@node103.cluster.com>, relay=root@localhost
Jul 23 13:51:32 node1 sendmail[17181]: n6N5pWgG017181: from=<root@node103.cluster.com>, size=437, class=0, nrcpts=1, msgid=<200907230551.n6N5pW2r017180@node103.cluster.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jul 23 13:51:32 node1 clamd[9250]: fd[11]: OK
Jul 23 13:51:32 node1 sendmail[17181]: n6N5pWgG017181: Milter add: header: X-Virus-Scanned: clamav-milter 0.95.2 at node103.cluster.com
Jul 23 13:51:32 node1 sendmail[17181]: n6N5pWgG017181: Milter add: header: X-Virus-Status: Clean
Jul 23 13:51:32 node1 mimedefang.pl[9336]: n6N5pWgG017181: Could not connect to clamd daemon at /var/spool/MIMEDefang/clamd.sock
Jul 23 13:51:32 node1 mimedefang.pl[9336]: Problem running virus scanner: code=999, category=cannot-execute, action=tempfail
Jul 23 13:51:32 node1 mimedefang.pl[9336]: filter: n6N5pWgG017181: tempfail=1
Jul 23 13:51:32 node1 mimedefang[9347]: n6N5pWgG017181: Tempfailing because filter instructed us to
Jul 23 13:51:32 node1 sendmail[17181]: n6N5pWgG017181: Milter: data, reject=451 4.3.0 Problem running virus-scanner
Jul 23 13:51:32 node1 sendmail[17181]: n6N5pWgG017181: to=<terry@node103.cluster.com>, delay=00:00:00, pri=30437, stat=Problem running virus-scanner
Jul 23 13:51:32 node1 sendmail[17180]: n6N5pW2r017180: to=terry@node103.cluster.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30138, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.0 Problem running virus-scanner
和mimedefang相关的sendmail配置如下
INPUT_MAIL_FILTER(`mimedefang',`S=unix:/var/spool/MIMEDefang/mimedefang.sock,F=T,T=S:60s;R:60s;E:5m')dnl |
|