RE: [Exim] forward all emails in virtual domain to selected …

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Bill Milford
Data:  
Para: exim-users
Asunto: RE: [Exim] forward all emails in virtual domain to selected user
I use the following as my final router.

catchall:
driver = redirect
data = ${lookup{nobody@$domain}lsearch{/etc/aliases}}
allow_fail
allow_defer
user = mailnull
group = mail
file_transport = address_file
pipe_transport = address_pipe

If all attempts to deliver the mail fail (i.e. it is not a know local part), then if there is an
entry in /etc/aliases for nobody@ the domain I will send it on.

Bill


-----Original Message-----
Hi,
I set up an virtual domain, which is controlled from
/etc/mail/virtual/_domain_name_ I created a bunch of aliases and now
want to solve the situation when no alias is found. Is there any better
option than use errors_to directive in main conf file?
Thx
Robert