- 论坛徽章:
- 5
|
20可用积分
本帖最后由 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 = 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
复制代码 发送邮件时的maillog,没有传说中的"DKIM-Signature header added",抓包数据也显示postfix无视milter配置段- Sep 15 10:40:25 localhost postfix-1/smtpd[21397]: connect from unknown[xxx.xxx.138.2]
- Sep 15 10:40:25 localhost postfix-1/smtpd[21397]: D3E8C24378C: client=unknown[xxx.xxx.138.2]
- Sep 15 10:40:25 localhost postfix-1/cleanup[21400]: D3E8C24378C: message-id=<201409151040312595021@just_for_test.com>
- Sep 15 10:40:25 localhost postfix-1/qmgr[21025]: D3E8C24378C: from=<poster1@just_for_test.com>, size=1729, nrcpt=1 (queue active)
- Sep 15 10:40:25 localhost postfix-1/smtpd[21397]: disconnect from unknown[xxx.xxx.138.2]
- Sep 15 10:40:27 localhost postfix-1/smtp[21401]: D3E8C24378C: to=<poster1@www.brandonchecketts.com>, relay=www.brandonchecketts.com[66.135.56.251]: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[21025]: D3E8C24378C: removed
复制代码 |
|