为什么这封电子邮件没有到达?

为什么这封电子邮件没有到达?

我一直试图从命令行向自己发送电子邮件,但邮件没有出现在我的收件箱中(或垃圾邮件或其他地方)。下面是我使用的命令和日志的副本。请问有人能告诉我哪里出了问题以及我该怎么做。

我已经彻底搜索了网络并尝试了很多想法,但这是我得到的最接近的答案。

root@localhost]/home/Harry# tail -f /var/log/maillog &
...
[root@localhost]/home/Harry# mail -s "Test Mail" [email protected]
Hello
EOT
[root@localhost]/home/Harry# Jun 17 15:37:41 localhost sendmail[5043]: u5HEbf9U005043: from=Harry, size=227, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Jun 17 15:37:41 localhost sendmail[5044]: u5HEbf9c005044: from=<[email protected]>, size=504, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jun 17 15:37:41 localhost sendmail[5043]: u5HEbf9U005043: [email protected], ctladdr=Harry (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30227, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u5HEbf9c005044 Message accepted for delivery)
Jun 17 15:37:42 localhost sendmail[5046]: u5HEbf9c005044: to=<[email protected]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120504, relay=mx.bt.lon5.cpcloud.co.uk. [65.20.0.49], dsn=5.0.0, stat=Service unavailable
Jun 17 15:37:42 localhost sendmail[5046]: u5HEbf9c005044: to=<[email protected]>, delay=00:00:01, mailer=local, pri=120504, dsn=5.1.1, stat=User unknown
Jun 17 15:37:42 localhost sendmail[5046]: u5HEbf9c005044: u5HEbg9c005046: postmaster notify: User unknown
Jun 17 15:37:42 localhost sendmail[5046]: u5HEbg9c005046: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31733, dsn=2.0.0, stat=Sent

回应@Curtis 的回答:也许我应该说原始命令行中的用户名曾是一个正确的用户,我一直使用的用户,那么为什么 btinternet.com 无法识别它?

答案1

btinternet.com 的邮件服务器显示该用户不存在。请查看您的日志文件:

u5HEbg9c005046: postmaster notify: User unknown

相关内容