Nikita Kipriyanov: > > /etc/postfix/main.cf: > > # Do not list proxy.example.com in other address classes. > > relay_domains = proxy.example.com > > relay_recipient_maps = hash:/etc/postfix/relay_recipients > > mydestination = localhost localhost.example.com > > > > smtpd_recipient_restrictions = > > permit_mynetworks reject_unauth_destination > > > I'm setting up a backup MX server. I end up with very similar > configuration, but I have additional questions about this topic: > 1) If I leave transport_maps empty, where the mail will go?
The backup MX server will look up the MX servers in the DNS and will try to deliver it to the primary MX server. This will not create a mail loop between MX hosts. > 2) The documentation has some pointers to the permit_mx_backup > restriction. It is wise to put it right after the > reject_unauth_destination in smtpd_recipient_restrictions? Don't use permit_mx_backup. If you use this, your mail queue will fill up with undeliverable MAILER-DAEMON messages. Wietse