![このメールが届かないのはなぜですか?](https://rvso.com/image/1497064/%E3%81%93%E3%81%AE%E3%83%A1%E3%83%BC%E3%83%AB%E3%81%8C%E5%B1%8A%E3%81%8B%E3%81%AA%E3%81%84%E3%81%AE%E3%81%AF%E3%81%AA%E3%81%9C%E3%81%A7%E3%81%99%E3%81%8B%3F.png)
コマンドラインから自分にメールを送信しようとしましたが、メッセージが受信トレイ (またはスパムやその他の場所) に表示されません。以下は、使用したコマンドとログのコピーです。どこが間違っているのか、また、どうすればよいのか、どなたか教えてください。
私はウェブを徹底的に検索し、多くのアイデアを試しましたが、これが最も近いものでした。
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