Unebale to sent mail from web server to personal mail server

May 7, 2014 1.1k views
I have configured my mail server and my web server on 2 different droplets, but I can't sent mails. My website runs on Wordpress and I wanted to get email notifications from WP to my personal email user@mydomain.com. I have configured exim4 and works fine when I sent to my gmail account. How can I check what is wrong?
1 Answer
So the first question is, is the problem with the sending or receiving end? You say you can send may to gmail from the Wordpress server. Can you receive mail from other hosts on the mail server?

Next, we should check the log files to get a better sense of the problem. Could you paste the contents of /var/mail.log ?
Have another answer? Share your knowledge.