Re: [Exim] aliases

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Josh Siegel
Date:  
À: Luke Pascoe, Raymond J. Raiani, exim-users
Sujet: Re: [Exim] aliases
You really want to put the wildcard: rule AFTER the local delivery rule
since you only want it to be hit if the email cannot be delivered to a local
user.

      --josh


> domainlist local_domains = /etc/exim/local-host-names
> domainlist relay_to_domains = /etc/exim/relay-domains
>
> # In Routers, below the dnslookup router
> virtual_user:
> driver = redirect
> data = ${lookup{$local_part\@$domain}lsearch{/etc/exim/virtusertable}}
> file_transport = address_file
> pipe_transport = address_pipe
>
> wildcard:
> driver = redirect
> data = ${lookup{\@$domain}lsearch{/etc/exim/virtusertable}}
> file_transport = address_file
> pipe_transport = address_pipe
>