Re: [exim] mail routing depending on from- or even reply-to …

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Thomas Stein
日付:  
To: exim-users
題目: Re: [exim] mail routing depending on from- or even reply-to header possible?
Am 19.12.13 14:07, schrieb Thomas Stein:
> Hello.
>
> I have a strange customer request. The cusomer wishes to use differnet
> smart hosts depending on from adress. Is this possible? My first try is
> not sooo successfull. Maybe someone did this in the past or has an idea?
> Thank you very much.


Found a way:

even_smarter_route:
        driver = manualroute
        #debug_print = "R: smarter_route for $domain"
        route_data =
${lookup{$header_From:}lsearch{/etc/exim/smarter_route}}
        transport = remote_smtp


This works. However changing $header_From: to $header_X-Envelope-To:
does not. Still trying.

cheers
t.