Can't root receive any email with postfix ?

There are two users : root and debian8 in my system. The domain name is pengsir.hfi
I fount that root can’t receive any email sent to it. ehco ‘test’ | mail -s ‘test’ root@localhost mail No mail for root cat /var/log/mail.log

Aug 19 15:47:49 pengsir postfix/pickup[3769]: 9F84FF829F: uid=1000 from=<debian8> Aug 19 15:47:49 pengsir postfix/cleanup[3808]: 9F84FF829F: message-id=20150819074749.9F84FF829F@pengsir.hfi Aug 19 15:47:49 pengsir postfix/qmgr[3770]: 9F84FF829F: from=debian8@pengsir.hfi, size=287, nrcpt=1 (queue active) Aug 19 15:47:49 pengsir postfix/local[3810]: 9F84FF829F: to=root@pengsir.hfi, orig_to=root@localhost, relay=local, delay=0.24, delays=0.14/0.01/0/0.1, dsn=2.0.0, status=sent (delivered to command: procmail -a “$EXTENSION”) Aug 19 15:47:49 pengsir postfix/qmgr[3770]: 9F84FF829F: removed

Why the email was removed?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @vedalken254:

What you’ve quoted is it saying that the email was removed from the active queue because postfix delivered the email successfully to the other party. Also, This is by design. Postfix is typically run in a chrooted environment so it can’t deliver to the root account… You could either set up an alias for root to forward to some other user on the system that you then pull mail from OR follow this guide: <— I personally did that except for the spamassassin part and i’m starting to regret it now as my email is getting spammed to hell.

View the original comment