Centos 6.4 Final的传出邮件连接超时

我试图从我的服务器发送电子邮件,它永远不会熄灭。 所以我检查我的邮件日志如下。 我从来没有对/etc/postfix/main.cf做任何更改。 我的pipe理员刚刚给了我一个主机被放入conf。 那么应该编辑main.cf的哪个部分来取这个值。

tail -f /var/log/maillog Mar 19 13:52:54 **** postfix/sendmail[2533]: fatal: unsupported: -bt Mar 19 13:55:32 **** postfix/pickup[2208]: F083C2C0249: uid=0 from=<root> Mar 19 13:55:33 **** postfix/cleanup[2543]: F083C2C0249: message-id=<20130319055532.F083C2C0249@****> Mar 19 13:55:33 **** postfix/qmgr[5755]: F083C2C0249: from=<root@****>, size=435, nrcpt=1 (queue active) Mar 19 13:56:03 **** postfix/smtp[2545]: connect to mx3.hotmail.com[65.55.**.***]:25: Connection timed out Mar 19 13:56:33 **** postfix/smtp[2545]: connect to mx1.hotmail.com[65.55.**.***]:25: Connection timed out Mar 19 13:57:03 ppnc postfix/smtp[2545]: connect to mx4.hotmail.com[65.54.**.***]:25: Connection timed out 

你不是使用sendmail,而是假装成sendmail的postfix,后缀告诉你它不理解-bt。

所以可能你正在使用错误的命令来发送邮件(或诊断为什么你不能发送邮件)。 最简单的办法就是问问同一个pipe理员谁给了你“一个东道主放在conf”。

您的ISP /路由器可能阻止传出连接到端口25作为垃圾邮件防范措施。

你可以telnet外部smtp服务器?

 telnet mx1.hotmail.com 25 

如果您已build议通过智能主机中继传出电子邮件,则在main.cfconfiguration文件中configuration/设置relayhost选项。

 relayhost = [gateway.example.com] 

url: