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.