Re: [exim] Routing for aliases

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] Routing for aliases
On 19/01/2021 08:55, Niels Kobschätzki via Exim-users wrote:
>>>>> I have the following case: I have users who have their mail-address
>>>>> aliased to an external address. The moment a router resolves the
>>>>> alias
>>>>> it doesn’t go again for the new target address through all routers
>>>>> but
>>>>> jumps directly the router to my dnslookup-router which is used for
>>>>> external mails and sends it out. Any idea how I get the mail through
>>>>> the
>>>>> whole router-loop again?


> virtual_aliases_nowild:
>   driver = redirect
>   domains = lsearch,ret=key;VIRTUAL_DOMAINS_FILE
>   data = ${lookup ldap{LDAP_AUTH ldap:///LDAP_ALIAS_DN?mailDestinationAddress?sub?(mail=${quote_ldap:$local_part@$domain_data})}{$value}fail}
>   allow_fail
>   allow_defer
>   file_transport = address_file
>   pipe_transport = address_pipe
>   modemask = 002
>   redirect_router = dnslookup


That last line seems to speak to the behaviour you are seeing...
--
Cheers,
Jeremy