I want to designate one node to take care of sending mails in case of temporary problems.
So I added this to main.cf template:
The goal is: The 1st node tries to send an email to all applicable destination servers (i.e. "mx" or "a" servers) and if unsuccessful - it forwards it to another node for further delivery. Its seems to work. Do you think it may cause any problems?
So I added this to main.cf template:
Code:
[% IF dns.fqdn == 'my.other.node.com' -%]
smtp_fallback_relay = [node.responsible.for.sending.of.deferred.mails.com]:26
[%- END %]
The goal is: The 1st node tries to send an email to all applicable destination servers (i.e. "mx" or "a" servers) and if unsuccessful - it forwards it to another node for further delivery. Its seems to work. Do you think it may cause any problems?