我部署了一个postfix(2.6.6)服务器来接收邮件。 在这我已经configuration了SenderID + SPF米尔特,通过参考http://www.postfix.org/MILTER_README.html
我使用的命令如下:
./sid-filter -u postfix -p inet:10027 @ localhost -l
以下是我在main.cf文件中的设置:
#Milter support for smtpd mail smtpd_milters = inet:localhost:10027, inet:localhost:10028 # Milters for non-SMTP mail. non_smtpd_milters = inet:localhost:10027, inet:localhost:10028 milter_default_action = reject # Postfix . 2.6 #milter_protocol = 6 # 2.3 . Postfix . 2.5 milter_protocol = 2
现在我有这个观察:
其中一个在AWS CentOS 5.5上设置的后缀工作正常,能够在定义的mxlogging上接收邮件。
在其中一个公司防火墙之后设置的一个类似的后缀(如在步骤1中)不能接收任何邮件,并提供以下types的错误日志:
从g2txxxxg.austin.hp.com连接[xx.xxx.96.198]
May 25 13:20:02 g2xxxxxg postfix / smtpd [11733]:C11F9B0194:client = g2txxxxxg.austin.hp.com [xx.xxx.96.198]
May 25 13:20:03 gxxxxxg postfix / cleanup [11814]:C11F9B0194:message-id=AANLkTincPyhJBxcLaF1ReI7rSsZvHWXvh0qaEJuwdm10@mail.gmail.com
5月25日13:20:03 gxxxxxg postfix / cleanup [11814]:C11F9B0194:milter-reject:来自gxxxxxg.austin.hp.com的结束消息[xx.xxx.96.198]:5.7.1命令被拒绝; [email protected] [email protected] proto = ESMTP helo = ey-out-1920.google.com
这里“sid-filter”给出了问题。
任何想法,我做错了什么?
请帮忙。
提前致谢
Ashish Sharma
问题解决了。
我不得不用以下命令重新启动sidfilter:
./sid-filter -u postfix -p inet:10027 @ localhost -l -L 8
这导致了最好的日志生成,并说服我sidfilter工作正确。
实际上是networking环境设置不当,导致问题。
感谢所有关注问题的人。
Ashish Sharma