Emmanuel Seyman via Postfix-users:
>
> Hello, all.
>
> I handle two SMTP gateways at $WORK which relay mail from the internet
> to an internel server and vice-versa. Accordingly, I have
> "virtual_transport = smtp:internal-host.example.com" in my main.cf .
>
> We recently had a network issue between the gateways and the internal
> host, after which I was informed there was a fallback host the gateways
> could still have reached.
>
> Can I specify a fallback nexthop in virtual_transport?
MAYBE: virtual_transport = smtp:internal-host.example.com,
other-host.example.com
NOT: virtual_transport = smtp:internal-host.example.com,
smtp:other-host.example.com
Only the SMTP client allows multiple next-hop destinations.
But a more native approach would be to use relaying:
DNS:
domain1 IN MX 10 your-server
/etc/postfix/main.cf:
relay_domains = domain1, ...
releay_recipient_maps = ...
transport:maps = hash:/etc/postfix/transport
/etc/postfix/transport:
domain1 smtp:internal-host.example.com, other-host.example.com
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]