2 godsad godsad 于 2014.09.15 10:52 提问

postfix发送邮件不走milter问题

邮件能正常发送,但是postfix死活不走milter走,日志里没有opendkim的header插入.邮件发送时抓包也显示postfix无视milter配置.

系统是centos6.5

postfix和opendkim都是yum的

postfixmilter配置

smtpd_milters           = inet:127.0.0.1:8891
non_smtpd_milters       = inet:127.0.0.1:8891
milter_default_action   = accept
milter_protocol   = 2

opendkim配置

PidFile /var/run/opendkim/opendkim.pid
Mode    sv
Syslog  yes
SyslogSuccess   yes
LogWhy  yes
UserID  opendkim:opendkim
Socket  inet:8891@localhost
Umask   002
Canonicalization        relaxed/relaxed
Domain xxx.com
Selector        hyz20140912
MinimumKeyBits 1024
KeyFile /etc/opendkim/keys/hyz20140912.private
KeyTable        /etc/opendkim/KeyTable
SigningTable    refile:/etc/opendkim/SigningTable
ExternalIgnoreList      refile:/etc/opendkim/TrustedHosts
InternalHosts   refile:/etc/opendkim/TrustedHosts       #发送端ip已加入
X-Header yes
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!