postfix发送邮件不走milter问题
本帖最后由 godsad 于 2014-09-15 11:03 编辑邮件能正常发送,但是postfix死活不走milter走,日志里没有opendkim的header插入.邮件发送时抓包也显示postfix无视milter配置.
系统是centos6.5
postfix和opendkim都是yum的
postfix milter配置smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = inet:127.0.0.1:8891
milter_default_action = accept
milter_protocol = 2opendkim配置PidFile /var/run/opendkim/opendkim.pid
Mode sv
Syslogyes
SyslogSuccess yes
LogWhyyes
UserIDopendkim:opendkim
Socketinet: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发送邮件时的maillog,没有传说中的"DKIM-Signature header added",抓包数据也显示postfix无视milter配置段Sep 15 10:40:25 localhost postfix-1/smtpd: connect from unknown
Sep 15 10:40:25 localhost postfix-1/smtpd: D3E8C24378C: client=unknown
Sep 15 10:40:25 localhost postfix-1/cleanup: D3E8C24378C: message-id=<201409151040312595021@just_for_test.com>
Sep 15 10:40:25 localhost postfix-1/qmgr: D3E8C24378C: from=<poster1@just_for_test.com>, size=1729, nrcpt=1 (queue active)
Sep 15 10:40:25 localhost postfix-1/smtpd: disconnect from unknown
Sep 15 10:40:27 localhost postfix-1/smtp: D3E8C24378C: to=<poster1@www.brandonchecketts.com>, relay=www.brandonchecketts.com:25, delay=1.6, delays=0.08/0/1.1/0.42, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as AEDF353300BA)
Sep 15 10:40:27 localhost postfix-1/qmgr: D3E8C24378C: removed 咳咳~~~~原来是postfix配置里空格数有限制:Q 我要跳楼,楼下的不要拦我:Q 本帖最后由 godsad 于 2014-09-15 11:54 编辑
必须得瑟一下:victory:
页:
[1]