postfix as backup mx mail server
my need is to setup postfix as backup mx mail server.
I mean, this server should receive mail for particular host when main mail server is down.
I know that I should set dns record, but what configuration should I set at postfix to perform it?
Re: postfix as backup mx mail server
Just set it up as you would for the primary, but make sure you don't specify $mydestination to point to your domain. That would tell Postfix to deliver the mail locally.
Postfix should recognize that it's the secondary MX from the domain's DNS records and queue the mail. When your primary comes back online, it will despool the queued messages.
Tags for this Thread