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

Góra strony
Delete this message
Reply to this message
Autor: Thomas Stein
Data:  
Dla: exim-users
Temat: 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.