The problem is that i and all users can not send any email to any other email that is not on the server , for example : my email is : [email protected] , and i want to send an email to [email protected] , the email from my side sent succesfully , but when i ask [email protected] about this email he said that he did not receive any thing , this problem is occur for all email accounts in my server that send any email to any provider (Yahoo , Hotmail , Gmail ....etc ).
The problem also exist in the other side , assume that [email protected] want to send an email to [email protected] , i can not recieve the email !! but when [email protected] send this email using Mail Form in mysite.com i recieve that email with no problems !!!
I open the message queue and i noticed that all messages are queued there , when i click Attempt to deliver all emails , a "Complete" message appear , but actually nothing sent and when i back to Queue i see that the messages still exist there.
Also , i click Mail statistics and i have noticed this message repeated too many times :
1 [someone]@hotmail.com R=fail_remote_domains: unrouteable mail
1. login to SSH as root > pico /etc/localdomains > check if your domain if there, if not, add the domain mysite.com into the entry > press CTRL+X > Y > to save the changes
2. pico /etc/resolv.conf , check if the DNS server is setup properly
3. tail -f /var/log/exim_mainlog or tail -f /var/log/exim_rejectlog ( depending on which log you wish to check ) and try sending/ receive mails and you will see the error appear in the ssh. Further your troubleshoot from there.