在系统下用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 "[email protected]" while MAIL FROM is "[email protected]"
F8bs
$_localhost.localdomain [127.0.0.1]
$rESMTP
$sshippingchina.com
${daemon_flags}
${if_addr}127.0.0.1
S<[email protected]>
MDeferred: 451 Mail data invalid, ignored. The sender in mailbody is "[email protected]" while MAIL FROM is "[email protected]"
rRFC822; [email protected]
RPFD:<[email protected]>
H?P?Return-Path: <乬>
H??Received: from shippingchina.com (localhost.localdomain [127.0.0.1])
by shippingchina.com (8.12.8/8.12. with ESMTP id h9GELebT016527
for <[email protected]>; 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: <[email protected]>
H??To: [email protected]
H??Subject: 国际海运网 注册确认信
H??From: [email protected]
H??cc:
H??X-Priority: 3
H??X-Mailer: 'RaS! Mailer'
H??Content-Type: text/html; charset=gb2312
.