Centos – Where is the postfix Mail Delivery Status Report

centoslogspostfix

I'm using CentOS 7. I wanted to test my PostFix mail forwarding so I ran

[root@server /]# echo "Subject: sendmail test" | sendmail -v admin@mydomein.com
Mail Delivery Status Report will be mailed to <root>.

I don't see the email received at my forwarding address and I can't figure out where the log of what happened is. I checked

[root@server /]# ls -al /var/log/maillog
-rw------- 1 root root 0 Mar  6 09:48 /var/log/maillog

But that log file is empty. How do I find out where things went wrong?

Best Answer

The message you posted says the Mail Delivery Status Report will be mailed to <root>.

I would check the root user's mail which by default should be /var/spool/mail/root.

Related Question