Bissio2000:
> Bissio2000:
> > Hi all,
> > 
> > i'm setting postfix server as primary and mx backup as well and i'm not
> > using relay_domains directive.
> > this is my configuration:
> > 
> > DNS
> > domain.com IN MX 10 primary.server.com
> > domain.com IN MX 20 secondary.server.com
> > 
> > POSTFIX
> > transport_maps = mysql:/etc/postfix/mysql_transport.cf
> > 
> > Into transport maps i set some domain to relay on itself (no backup mx -
> > relay:[primary.server.com]) and other domain to relay to other mail server
> > (backup mx - smtp:[secondary.server.com]).
> > 
> > Is this configuration correct or I need to use relay_domains too into
> > main.cf?
> 
> Sorry, the above is completely wrong.
> 
> For a supported implementation, please see:
> http://www.postfix.org/STANDARD_CONFIGURATION_README.html
> 
>       Wietse
> Hi,
> 
> yes i know the directives used to build an MX backup, but I did some tests
> about the configuration posted above and the result was that all messages
> sent to the server was relayed at itself if there was nothing into transport
> map, instead was delivered to other postfix server if there was
> smtp:other.server.com into transport map.
> All the domain are listed into postfix_virtual_domains map but not listed
> into relay_domains. My question is the following: is this configuration
> correct to use my postfix server as primary and as mx backup as well?

Please see http://www.postfix.org/STANDARD_CONFIGURATION_README.html
for the correct way to implement primary and backup MX hosts with
Postfix.

        Wietse

Reply via email to