After removed to a new server, seem my email didn't work right way, sometimes it didn't send as expected. I want to know which ways to help me check my email server on new server is working correctly or right configurations?
Check proper DNS MX records are configured and they are resolving properly
While sending the mails go through the mail logs e.g. for exim go through /var/log/exim_mainlog , the logs will give you actual situation of how things are working
I wanted to elaborate on what "24x7CSM" mentioned. It seems per your comment some of your emails are currently not being accepted by the recipient mail server. If you want to look specifically on what emails have been rejected please use the following command:
This command will provide you with a more details on why your emails have been rejected or not received. Here is an example output:
In the above text, it shows that an email address "[email protected]" has been blacklisted or blocked by spamhaus.org. Usually this is a result of spam. However, it could also be the result of incorrect email setup. An example of a misconfigured mail is missing the SPF records.
On our website you can find an article that gives you useful server commands if you would like to check the article feel free to and let me know if you have any questions regarding any of the commands. Please also keep in mind that these commands are based on Linux CentOS7 & Cpanel.
Troubleshoot Via WHM interface:
If you are running WHM on your server and have root level access you can use the page "Mail Troubleshooter". This feature traces an email’s route from your server to a specified address in order to highlight issues along the delivery path. This feature is useful, for example, to detect potential issues after you reconfigure your mail system.
Here is a screenshot of how to get to that page in WHM:
If all else fails your web hosting provider should be able to help you with this and feel free to ask us any questions.