On 24/03/20 8:05 am, Wietse Venema wrote:
Ranjan Maitra:
So, I am wondering if I it is possible to have a setup whereby
postfix is delayed unless/until VPN is up and running. If VPN is
down, then I would like postfix to be delayed until such time as
it comes up. If it is possible, how do I go about doing this? Other
ideas?
Before VPN goes down:
# postconf defer_transports=smtp
# postfix reload
After VPN comes up:
# postconf -X defer_transports
# postfix reload
If he's using relayhost and postfix can't reach the nexthop shouldn't
postfix just defer automatically without having to do this every time?
Peter