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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: 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