[exim] virtual domains and aliases

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Erik Myllymaki
Date:  
À: Exim-Users (E-mail)
Sujet: [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

?