Re: [Exim] aliases

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Josh Siegel
Dátum:  
Címzett: Luke Pascoe, Raymond J. Raiani, exim-users
Tárgy: 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
>