Re: [Exim] Re: Virtual domain question

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Tim Jackson
Data:  
Para: exim-users
Assunto: Re: [Exim] Re: Virtual domain question
Hi Björn, on Wed, 28 Apr 2004 20:26:31 +0200 you wrote:

> I think I get this. Now, how do I get my global alias file, as defined
> in this rule:
> system_aliases:<snip>
> to affect only mail sent from local services, such as crond et al?


Make sure that local_domains contains only truly "local" things like the
hostname of the machine itself, aliases of that etc.

Then add

domains = +local_domains

to the system_aliases router.


By far the best way (and simplest, as it avoids confusion) of dealing with
situations like this is to maintain a complete separation between your
"virtual" and "local" domains, meaning that a delivery to a user only
takes place when an alias in a "virtual" domain file redirects to
user@localhost or similar.


Tim