Re: backup/fallback for default_transport ?
- On 6/26/2012 3:46 PM, lutz.niederer@... wrote:
>relayhost specifies a destination, default_transport specifies a
> Except for the [transport] with default_transport where do relayhost and default_transport differ in that scenario? Especially if I can also set relay_transport...
delivery channel. Seems to me you should be using relayhost, but it
probably doesn't matter much.
> Does it cycle through the 2 A/MX records (IPs) when trying to deliver? Does it try both on each try or does it try one, wait, two, wait, one, ...
During each delivery attempt, postfix will try MXs in order of
precedence. In the case of one primary and one secondary,
postfix will always try the primary first. If the primary is
unavailable or the connection times out, postfix will immediately
try the secondary.
If you define two equal-weight MXs (or two A records with no MX),
postfix will randomly pick one. If postfix's first choice is
unavailable, postfix will then try the second.
 there are sanity limits on how many MXs postfix will try.
-- Noel Jones