[exim] virtual domains and aliases

Top Pagina
Delete this message
Reply to this message
Auteur: Erik Myllymaki
Datum:  
Aan: Exim-Users (E-mail)
Onderwerp: [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

?