Ways to check what SMTP server a Linux server is using

Quickest way to test is send yourself a blank email from the server, like so in terminal:

mail -s "Test" address1@domain.com address2@domain.com < /dev/null

Another way is and it will tell you what servers handle mail:

host your_domain.com 

Hope this helps.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.