On Sun, Aug 27, 2017 at 01:01:58PM +0200, Davide Marchi wrote:
> If I shut down the primary server, the MX backup receive the mail correctly
> and mail goes into mailbox 'INBOX'.
> The problem is that if I try to look into the postfix queue this is empty:
Do not list the mx-backup domain in "mydestination". Do list the
mx-backup domain in "relay_domains". Set either:
parent_domain_matches_subdomains = smtpd_access_maps
or, better yet:
parent_domain_matches_subdomains =
if you're not relying on "example.com" matching "foo.example.com"
in access(5) tables and are willing to add ".example.com" keys as
necessary.
If you're behind a NAT device, make sure to list the external
address(es) in "proxy_interfaces".
For more help: http://www.postfix.org/DEBUG_README.html#mail
--
Viktor.