[exim] virtual domains and aliases

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Erik Myllymaki
Fecha:  
A: Exim-Users (E-mail)
Asunto: [exim] virtual domains and aliases
to use separate aliases files for each domain that I accept mail for,
could it be as easy as using /etc/aliases.domain1, /etc/aliases.domain2,
etc. and then changing this part of exim.conf:

system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch*{/etc/aliases}}
user = exim
file_transport = address_file
pipe_transport = address_pipe

to this:

system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch*{/etc/aliases.$domain}}
user = exim
file_transport = address_file
pipe_transport = address_pipe

?