Mails Sent from the Command Line Not Appearing in Inbox or Spam Folder

I sent some test mails using the command line. In the log I can see that status = sent, but I am not getting any emails in my inbox or spam folder.

Oct 11 15:51:01 ip-10-0-1-80 postfix/local[20606]: 724AB6D5B: to=<root@localhost>, orig_to=<root>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)

1 Answer

It seems to go to the root user's mailbox, not your user's (unless you're root). Switch to root:

sudo -i su

...and check mail:

mail

Cheers,

OJ

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest