03 Oct

Postfix: how to disable local delivery

if you need to send emails from your Postfix server using MX records instead of local delivery you should leave the following line empty:

mydestination = $myhostname, localhost.$mydomain, localhost

in /etc/postfix/main.cf.
This way:

mydestination =

And restart the server:

/etc/init.d/postfix restart

Leave a Reply

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