LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 831|回复: 1

sendmail有的信箱能发出去,有的信箱就发不出去。

[复制链接]
发表于 2003-10-16 09:52:57 | 显示全部楼层 |阅读模式
在系统下用mail命令都可以发出去,但用php就有的信箱可以发出去,有的则总不行。在队列里消息如下:
[root@shippingchina mail]# ls /var/spool/mqueue/
dfh9GEEDbT016495 dfh9GELebT016527 qfh9GEEDbT016495 qfh9GELebT016527
[root@shippingchina mail]# cat /var/spool/mqueue/qfh9GELebT016527
V6
T1066314100
K1066314101
N1
P30403
MDeferred: 451 Mail data invalid, ignored. The sender in mailbody is "webmaster@shippingchina.com" while MAIL FROM is "nobody@shippingchina.com"
F8bs
$_localhost.localdomain [127.0.0.1]
$rESMTP
$sshippingchina.com
${daemon_flags}
${if_addr}127.0.0.1
S<nobody@shippingchina.com>
MDeferred: 451 Mail data invalid, ignored. The sender in mailbody is "webmaster@shippingchina.com" while MAIL FROM is "nobody@shippingchina.com"
rRFC822; teloon6@online.ln.cn
RPFD:<teloon6@online.ln.cn>
H?P?Return-Path: <?g>
H??Received: from shippingchina.com (localhost.localdomain [127.0.0.1])
by shippingchina.com (8.12.8/8.12. with ESMTP id h9GELebT016527
for <teloon6@online.ln.cn>; Thu, 16 Oct 2003 09:21:40 -0500
H?x?Full-Name: Nobody
H??Received: (from nobody@localhost)
by shippingchina.com (8.12.8/8.12.8/Submit) id h9GELe0Z016524;
Thu, 16 Oct 2003 09:21:40 -0500
H??Date: Thu, 16 Oct 2003 09:21:40 -0500
H??Message-Id: <200310161421.h9GELe0Z016524@shippingchina.com>
H??To: teloon6@online.ln.cn
H??Subject: 国际海运网 注册确认信
H??From: webmaster@shippingchina.com
H??cc:
H??X-Priority: 3
H??X-Mailer: 'RaS! Mailer'
H??Content-Type: text/html; charset=gb2312
.
发表于 2003-10-17 11:11:05 | 显示全部楼层
在php中,你发送mail的函数是怎么写的??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表