Postfix configuration: Running Your Domain's Mail Service on a Separate Server

Took me awhile to figure this one out, so i’ll leave some bread crumbs here in case anyone else is looking for the answer …

Directly quoted from

"Say your domain is You want all your web and FTP etc to be handled on one server. And your mail to be handled by another machine (maybe

You want your server to run a mail server though, so things like your webapps can send emails. And apps like Logwatch can send you emails. Just the server should not/will not be the final destination for emails addressed to

But, when you send email from your server to your local postfix mail server grabs the email and tries to deliver it locally" …

and then logs an error saying it can’t deliver to itself b/c of an reiterative loop.

Don’t go trying to fix DNS record for the domain b/c its probably correct. Try the following:

edit /etc/postfix/

Change: mydestination = $myhostname, localhost.$mydomain, localhost

To: mydestination = localhost.$mydomain, localhost