- 论坛徽章:
- 0
|
公司局域网有台服务器,名字DevServer,在这台机给外部邮箱发邮件:mail -s 'subject' admin@sohu.com < test.log是正常的.
但是给公司邮箱发email则收不到,公司邮件服务器是另外一台,
mail -s 'subject' tommy.zhang@xxx.com < test.log,这台测试机的机器名不能更改了
请问有什么办法可以让公司邮箱收到从测试机发来的email?公司邮箱收外部email是正常的
附上sendmail日志,谢谢.
May 9 12:29:51 DevServer sendmail[8899]: m494TpKe008899: from=root, size=23309, class=0, nrcpts=1, msgid=<200805090429.m494TpKe008899@localhost.localdomain>, relay=root@localhost
May 9 12:29:52 DevServer sendmail[8901]: m494TqXK008901: <tommy.zhang@xxx.com>... User unknown
May 9 12:29:52 DevServer sendmail[8899]: m494TpKe008899: to=tommy.zhang@xxx.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=53309, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
May 9 12:29:52 DevServer sendmail[8901]: m494TqXK008901: from=<root@localhost.localdomain>, size=23309, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=DevServer [127.0.0.1]
May 9 12:29:52 DevServer sendmail[8899]: m494TpKe008899: m494TpKf008899: DSN: User unknown
May 9 12:29:52 DevServer sendmail[8901]: m494TqXM008901: from=<>, size=25383, class=0, nrcpts=1, msgid=<200805090429.m494TpKf008899@localhost.localdomain>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=DevServer [127.0.0.1]
May 9 12:29:52 DevServer sendmail[8899]: m494TpKf008899: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=54333, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m494TqXM008901 Message accepted for delivery)
May 9 12:29:53 DevServer sendmail[8902]: m494TqXM008901: to=<root@localhost.localdomain>, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=55589, dsn=2.0.0, stat=Sent |
|