2

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?

1

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.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.