WordPress邮箱发信的那点事

Posted by 冰河 at 13:30 Add comments 28,898 Views
十一 272010

话说博客搬家弄的差不多了,可是突然发现自搬家以来一直没有收到博客留言的邮件通知。以前用Emlog的时候发信都的额外装插件,还得自己设置。但是WordPress好像自带这个功能吧?去后台看了下设置,没问题。博客也支持php的mail()函数。但是为什么就是收不到邮件呢?

去空间后台登陆SquirrelMail一看傻眼了,全是Mail delivery failed: returning message to sender的提示。打开一看:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  *****@live.com
    SMTP error from remote mail server after MAIL FROM:<*****@zongcan.hengtian.org>
SIZE=2321:
    host mx4.hotmail.com [65.55.92.152]: 550 OU-002 Unfortunately, messages from
211.166.9.* weren't sent. Please contact your Internet service provider since
part of their network is on our block list. You can also refer your provider to
http://mail.live.com/mail/troubleshooting.aspx#errors.

我用的live.com邮箱,衡天小张的主机。错误日志显示小张的主机的IP上了微软邮箱的黑名单了。真是悲剧,只能换个邮箱了。正好去前一阵子申请的QQ域名邮箱,于是就把live.com邮箱换成了admin@binghe.org。完事了我去自己的留言板测试下,发现还是不能收到邮件。

再去后台登陆SquirrelMail一看,又是Mail delivery failed: returning message to sender的提示:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  admin@binghe.org

去网上搜了搜,很多Linux主机都有这个问题。wp发信的帐号是wordpress@binghe.org,主机的管理员帐号(用探针查看)是webmaster@binghe.org。想必是Linux把自己当成@binghe.org的host了。因此给admin@binghe.org发信的话。主机不去检查它的MX记录。直接发给自己了。主机上又没注册admin@binghe.org这个帐号,当然就发不成功了。

网上的解决办法是登陆cPanel,选择Mx Entry Maintenance(MX输入),修改Remote Mail Exchanger,添加Mx Records即可。可以参考这里:
博客更换空间后出现的几个问题及解决
G apps无法接收WP邮件解决办法

但是我的后台是DirectAdmin面板,功能不像CP那么强大,死活没找到设置MX的地方。不给力啊。最后万般无奈,去申请个gmail用吧。

相关日志

7 Responses to “WordPress邮箱发信的那点事”

  1. 要是能有一个自己域名的邮箱就好了,上回我一个QQ号被腾讯收回了,结果那个邮箱也不能再用了。

  2. 还是GMAIL省心啊

  3. 看了你的文章,很感兴趣,希望有机会能和您交流交流。

  4. 很专业,很给力,博主绝对的实力派。

  5. 域名邮箱不错,有收信QQ弹窗提示

  6. 哦 就这点事情哈哈

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Protected by WP Anti Spam
© 2009 - 2024 冰河的博客