Re: [Exim] "Steal" (was "Redirect") mail delivery

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Florian Weimer
CC: Leonardo Boselli, exim-users
Sujet: Re: [Exim] "Steal" (was "Redirect") mail delivery
On 11 Sep 1999, Florian Weimer wrote:

> Ah, thanks. I didn't realize that you can invoke a remote transport
> for a local domain.


Any director or router can invoke any transport. There is no
restriction.

> Just out of curiousity, in the diagram on page 9 of the Exim 3.00
> specification, there's a link labled `local after all'. Which
> configuration options correspond to the link?


It happens when a router discovers that a domain which is not in
local_domains refers to the local host. This may be because it was an
abbreviation which the DNS lookup expands, or it may be because routing
ends up with an IP address which is one of those for the local host. In
the first case, the address is automatically passed to the directors. In
the second case, the "self" option controls what happens.

> # Non-local users which are in fact local
>
> catch_fake_locals:
>   driver = smartuser
>   domains = FAKE_LOCAL_DOMAINS
>   new_address = "${lookup {$local_part@$domain} \
>         lsearch {FLD_REDIRECT_FILE} \
>         {$value} fail}"


This looks to me to be just an aliasing operation. You could do it with
an aliasfile director.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.