- 论坛徽章:
- 0
|
我使用了一个php写的脚本发邮件,之间使用一直是好的,可是最近发现无法收到所发的mail,不知是为什么
使用的是redhat的兼容版本centos系统自带的sendmail发邮件,sendmai使用的是默认配置,没有做过任何配置,就最近这几天发现程序判断是把mail已经发出去了,但是却收不到邮件,是往我的gmail邮箱里发邮件。
一下是sendmail的发邮件时的进程过程:
1.
smmsp 17755 17754 0 10:36 pts/2 00:00:00 sendmail: ./l4L2bt5p017755 [127.0.0.1]: client MAIL
root 17874 2620 0 10:38 ? 00:00:00 sendmail: l4L2c3RU017874 localhost [127.0.0.1]: MAIL From
2.
smmsp 17755 17754 0 10:36 pts/2 00:00:00 sendmail: ./l4L2bt5p017755 [127.0.0.1]: client DATA 354
root 17874 2620 0 10:38 ? 00:00:00 sendmail: l4L2c3RU017874 localhost [127.0.0.1]: DATA
3.
root 17906 1 0 10:38 ? 00:00:00 sendmail: ./l4L2c3RU017874 gmail-smtp-in.l.google.com.: user open
4.
root 17906 1 0 10:38 ? 00:00:00 sendmail: ./l4L2c3RU017874 gmail-smtp-in.l.google.com.: client RCPT
5.
root 17906 1 0 10:38 ? 00:00:00 sendmail: ./l4L2c3RU017874 gmail-smtp-in.l.google.com.: client DATA 354
6.
root 17906 1 0 10:38 ? 00:00:00 sendmail: ./l4L2c3RU017874 gmail-smtp-in.l.google.com.: client DATA status
7.
root 17906 1 0 10:38 ? 00:00:00 sendmail: gmail-smtp-in.l.google.com.: idle
这是mail的log,/var/log/maillog
May 21 11:04:59 streamfount sendmail[20451]: My unqualified host name (streamfount) unknown; sleeping for retry
May 21 11:05:59 streamfount sendmail[20451]: unable to qualify my own domain name (streamfount) -- using short name
May 21 11:06:00 streamfount sendmail[20451]: l4L35xdM020451: from=root, size=760528, class=0, nrcpts=1, msgid=<e2cf3ea37fabd79c762e4fedca4ac65a@localhost.localdomain>, relay=root@localhost
May 21 11:06:08 streamfount sendmail[20472]: l4L360tS020472: from=<root@streamfount>, size=760619, class=0, nrcpts=1, msgid=<e2cf3ea37fabd79c762e4fedca4ac65a@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
May 21 11:06:08 streamfount sendmail[20451]: l4L35xdM020451: to=aaa@gmail.com, ctladdr=root (0/0), delay=00:00:09, xdelay=00:00:08, mailer=relay, pri=790528, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l4L360tS020472 Message accepted for delivery)
May 21 11:06:45 streamfount sendmail[20477]: l4L360tS020472: to=<aaa@gmail.com>, ctladdr=<root@streamfount> (0/0), delay=00:00:42, xdelay=00:00:37, mailer=esmtp, pri=880619, relay=gmail-smtp-in.l.google.com. [64.233.167.114], dsn=5.0.0, stat=Service unavailable
May 21 11:06:45 streamfount sendmail[20477]: l4L360tS020472: l4L36jtS020477: DSN: Service unavailable
May 21 11:06:47 streamfount sendmail[20477]: l4L36jtS020477: to=<root@streamfount>, delay=00:00:02, xdelay=00:00:00, mailer=local, pri=791835, dsn=2.0.0, stat=Sent
请问这个发邮件的过程是否正确,为什么我的邮件没有到达我的邮箱?
[ 本帖最后由 hjxisking 于 2007-5-21 11:11 编辑 ] |
|