Re: [exim] route to smarthost only emails that would be send…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-users
Asunto: Re: [exim] route to smarthost only emails that would be send to MX dns ending with .google.com
On 29/01/16 08:12, krzf83@??? wrote:
> Is there any way to route outgoing emails via smarhost


a manualroute router, early in your routing chain...

> but only if
> target MX has specific string in its dns name?


... conditioned on a match of "this_string" against
the results of a dnsdb mx lookup on the domain.

Be aware that the lookup returns multiple results,
and not necessarily including the one that would have
been used.

Docs at http://exim.org/exim-html-current/doc/html/spec_html
--
Cheers,
Jeremy