Sendmail force network email off-network

Head Surfer
October 10th, 2008

If you use sendmail or your client chooses a 3rd-party for email it can cause problems.  Even after changing the mx record sendmail refuses to search for the new MX record.  This is because sendmail listens to your local mailertable file.  To resolve this issue open the mailertable file:

Login via SSH:

vi /etc/mail/mailertable

You will see an entry for procmail that look like:

domain.com        procmail:$username

Change it to:

domain.com        esmtp:mail.domain.com

Where mail.domain.com is the new mx record.  Then remake the sendmail files.

cd /etc/mail/

make all

service sendmail restart

How To Host A Website is a Web Hosting Review service. We provide web hosting reviews for best hosting, server hosting, cheap hosting and more as we answer the most important website hosting question - How To Host Website pages successfully.

Words visitors used that found this page online:


Disclosure: We are a professional review site that receives compensation from the companies whose products we review. We are independently owned and the opinions expressed here are our own. Please contact us if you would like your web hosting company considered for a web hosting and support review.
Back to top Copyright 2012 © How To Host A Website, An OS Hosting, LLC Company