Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

Mails sent from the command line not appearing in inbox or spam folder

Writer Matthew Barrera

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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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