好吧……
事情是这样的。
我可以使用 Outlook 登录到我的邮件服务器,但当我发送电子邮件时,我收到这错误。使用 SquirrelMail,我没有收到任何错误,发送工作正常。但是出于显而易见的原因,我不会使用 SquirrelMail。
一些可能感兴趣的文件是:
邮件日志:
Mar 20 18:55:56 mail postfix/smtpd[2809]: connect from mail-pd0-f202.google.com[209.85.192.202]
Mar 20 18:55:56 mail postfix/smtpd[2809]: warning: non-null host address bits in "104.236.240.12/24", perhaps you should use "104.236.240.0/24" instead
Mar 20 18:55:57 mail postfix/smtpd[2809]: Anonymous TLS connection established from mail-pd0-f202.google.com[209.85.192.202]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Mar 20 18:55:57 mail postfix/smtpd[2809]: warning: non-null host address bits in "104.236.240.12/24", perhaps you should use "104.236.240.0/24" instead
Mar 20 18:55:57 mail postfix/smtpd[2809]: NOQUEUE: reject: RCPT from mail-pd0-f202.google.com[209.85.192.202]: 451 4.3.0 <[email protected]>: Temporary lookup failure; from=<33y4KVRgKBRQ08805y-u99C-x8-78D-By95I08805y.w86yD1u7yvyuB.EC@gaia-hosted.bounces.google.com> to=<[email protected]> proto=ESMTP helo=<mail-pd0-f202.google.com>
Mar 20 18:55:57 mail postfix/smtpd[2809]: warning: non-null host address bits in "104.236.240.12/24", perhaps you should use "104.236.240.0/24" instead
Mar 20 18:55:57 mail postfix/smtpd[2809]: disconnect from mail-pd0-f202.google.com[209.85.192.202]
resolv.conf:
nameserver 2001:4860:4860::8844
nameserver 2001:4860:4860::8888
nameserver 8.8.8.8
nameserver 8.8.4.4
是的,我不知道哪里出了问题。顺便说一句,我尝试发送邮件的服务器是 mail.ebear.us,MX 记录配置正确。运行 Ubuntu 14.10
先谢谢您的帮助!
答案1
那么,您是否真的阅读了错误消息并尝试进行其建议的更改?
从你的main.cf
:
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 104.236.240.12/24
最后一项无效。如果要指定单个主机,请使用/32
。如果要指定整个子网,请使用104.236.240.0/24
。