Re: [exim] Recursive Lookups

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Timothy Arnold
Date:  
À: exim-users
CC: Timothy Arnold
Sujet: Re: [exim] Recursive Lookups

Hi Philip,

Hopefully this will help. Here is the .aliases file:

final@???:     paul@???
loop@???:      final@???


When testing loop@???, it successfully matches then then
the rest of the routers continue with final@???.

What happens is that it doesn't re-evaluate the aliases file to match
final@???...

This could be considered a dangerous thing to do since it could cause mail
loops. Please feel free to tell me so!

Thanks
Tim

On Mon, 3 Jul 2006, Philip Hazel wrote:

> On Sun, 2 Jul 2006, Timothy Arnold wrote:
>
>> The file is for example:
>>
>> user@???: someone@???
>> loop@???: user@???
>>
>> If the user emails loop@???, if recursive lookups work, it should
>> email someone@??? but doesn't. it continues to the next
>> router believing that it hasn't matched user@???
>
> Is this something simple like you haven't changed the default aliasing
> router? By default, the system_aliases router looks up only the local
> part, not the whole address as you have it above. Given that you *have*
> set up an appropriate router, your expectation above is correct.
>
> Run a test using -d and -bt to see why it is doing what it is doing.
>
> -- 
> Philip Hazel            University of Cambridge Computing Service
> Get the Exim 4 book:    http://www.uit.co.uk/exim-book

>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>