无法用 mail 函数发送邮件

2015-01-07 23:45:29 +08:00
 Moker

已安装sendmail和mailx php 的path路径也设置了
mail日志如下:
http://ww2.sinaimg.cn/mw690/b1209f59gw1eo1dxmjakcj210u0dt1bd.jpg
好像图片看不清、、
Jan 7 23:29:40 vultr sendmail[5458]: t07FTeOh005458: from=root@vultr.guest, size=448, class=0, nrcpts=1, msgid=201501071529.t07FTepJ005457@vultr.guest, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 7 23:29:40 vultr sendmail[5457]: t07FTepJ005457: to=xxxxx@163.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30221, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (t07FTeOh005458 Message accepted for delivery)
Jan 7 23:31:39 vultr sendmail[5516]: t07FVdlf005516: from=root, size=221, class=0, nrcpts=1, msgid=201501071531.t07FVdlf005516@vultr.guest, relay=root@localhost
Jan 7 23:31:39 vultr sendmail[5517]: t07FVd9T005517: from=root@vultr.guest, size=448, class=0, nrcpts=1, msgid=201501071531.t07FVdlf005516@vultr.guest, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 7 23:31:39 vultr sendmail[5516]: t07FVdlf005516: to=xxxxx@qq.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30221, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (t07FVd9T005517 Message accepted for delivery)
Jan 7 23:34:05 vultr sendmail[4562]: t07FF5Tm004560: to=xxxxx@qq.com, ctladdr=www@vultr.guest (501/501), delay=00:19:00, xdelay=00:19:00, mailer=esmtp, pri=120340, relay=mx1.qq.com. [103.7.30.40], dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
Jan 7 23:35:49 vultr sendmail[4644]: t06ElCoe015183: to=xxxxx@qq.com, ctladdr=www@vultr.guest (501/501), delay=1+00:48:37, xdelay=00:19:01, mailer=esmtp, pri=2280348, relay=mx1.qq.com. [103.7.30.40], dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
Jan 7 23:35:49 vultr sendmail[4644]: t06ErhGd015543: to=xxxxx@qq.com, ctladdr=www@vultr.guest (501/501), delay=1+00:42:06, xdelay=00:00:00, mailer=esmtp, pri=2280348, relay=mx1.qq.com., dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
Jan 7 23:35:49 vultr sendmail[4644]: t06EghU2015174: to=2275277266@qq.com, ctladdr=www@vultr.guest (501/501), delay=1+00:53:06, xdelay=00:00:00, mailer=esmtp, pri=2280367, relay=mx1.qq.com., dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
Jan 7 23:36:07 vultr sendmail[5018]: t07FH795005016: to=xxxxx@qq.com, ctladdr=www@vultr.guest (501/501), delay=00:19:00, xdelay=00:19:00, mailer=esmtp, pri=120340, relay=mx1.qq.com. [103.7.30.40], dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
Jan 7 23:36:10 vultr sendmail[5022]: t07FHAYe005020: to=xxxxx@qq.com, ctladdr=www@vultr.guest (501/501), delay=00:19:00, xdelay=00:19:00, mailer=esmtp, pri=120340, relay=mx1.qq.com. [103.7.30.40], dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
Jan 7 23:39:57 vultr sendmail[5779]: starting daemon (8.14.4): SMTP+queueing@01:00:00
Jan 7 23:39:57 vultr sm-msp-queue[5788]: starting daemon (8.14.4): queueing@01:00:00
Jan 7 23:40:02 vultr sendmail[5795]: t07Fe2H1005795: from=www, size=106, class=0, nrcpts=1, msgid=201501071540.t07Fe2H1005795@vultr.guest, relay=www@localhost
Jan 7 23:40:02 vultr sendmail[5796]: t07Fe2ID005796: from=www@vultr.guest, size=340, class=0, nrcpts=1, msgid=201501071540.t07Fe2H1005795@vultr.guest, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 7 23:40:02 vultr sendmail[5795]: t07Fe2H1005795: to=xxxxx@qq.com, ctladdr=www (501/501), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30106, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (t07Fe2ID005796 Message accepted for delivery)

3626 次点击
所在节点    问与答
1 条回复
Moker
2015-01-08 10:48:15 +08:00
自己顶一下

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/160167

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX