Martijn de Munnik:
> Hi,
> 
> Our smtp server has some issues when talking to some remote mx's. This
> results in a timeout and the message not being delivered (this was
> discussed on this mailinglist but there doesn't seem to be a real
> solution available now). When we relay the message through another
> server the remote mx happily accepts the message. I only want to relay
> messages through the other server when a timeout occurs. I was thinking
> of using fail2ban for this. I want to watch the maillog with fail2ban
> and when timeouts appear I want fail2ban to write a line to the
> transport??? map. How do I redirect messages with a certain destination
> mx to another mail server (one of our relays)?

See: http://www.postfix.org/postconf.5.html#smtp_fallback_relay

        Wietse
> 
> Example:
> 
> mail to i...@goofyandtheregulars.com will be delivered to
> mx-cluster-b1.one.com or mx-cluster-b2.one.com. But will give a timeout
> when talking to that machine. So I want to redirect message to
> mx-cluster-b1.one.com and mx-cluster-b2.one.com to mx2.youngguns.nl.
> 
> thanks,
> Martijn
> 
> 
> 

Reply via email to