Re: [exim] help with the router setup

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Peter Bowyer
Datum:  
To: exim-users
Betreff: Re: [exim] help with the router setup
Peter Bowyer <peter@???> wrote:

>  hubbed_hosts:
>   debug_print = "R: hubbed_hosts for $domain"
>   driver = manualroute
>   domains = "${if exists{CONFDIR/hubbed_hosts}\
>                    {partial-lsearch;CONFDIR/hubbed_hosts}\
>               fail}"
>   local_parts = $lookup{$local_part}lsearch{CONFDIR/$domain}}
>   route_data = ${lookup{$domain}partial-lsearch{CONFDIR/hubbed_hosts}}
>   transport = remote_smtp


Just noticed another optimisation you can do here:

route_data = $domain_data

Exim will 'remember' the RHS of the domains= lookup result in $domain_data
so you don't have to do another lookup.

Peter