Re: [Exim] aliases

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Josh Siegel
Fecha:  
A: Luke Pascoe, Raymond J. Raiani, exim-users
Asunto: 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
>