由 z33 在 10-16-2003 09:52 发表:
sendmail有的信箱能发出去,有的信箱就发不出去。
在系统下用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
1<[email protected]>
2
3MDeferred: 451 Mail data invalid, ignored. The sender in mailbody is "[email protected]" while MAIL FROM is "[email protected]"
4
5rRFC822; [email protected]
6
7RPFD:<[email protected]>
8
9H?P?Return-Path: <乬>
10
11H??Received: from shippingchina.com (localhost.localdomain [127.0.0.1])
12
13by shippingchina.com (8.12.8/8.12. with ESMTP id h9GELebT016527
14
15for <[email protected]>; Thu, 16 Oct 2003 09:21:40 -0500
16
17H?x?Full-Name: Nobody
18
19H??Received: (from nobody@localhost)
20
21by shippingchina.com (8.12.8/8.12.8/Submit) id h9GELe0Z016524;
22
23Thu, 16 Oct 2003 09:21:40 -0500
24
25H??Date: Thu, 16 Oct 2003 09:21:40 -0500
26
27H??Message-Id: <[email protected]>
28
29H??To: <a h</[email protected]></[email protected]></[email protected]>