[Exim] Virtual Domains in exim 4

Top Page
Delete this message
Reply to this message
Author: Tim Tassonis
Date:  
To: exim-users
Subject: [Exim] Virtual Domains in exim 4
Hi all

I'm trying to migrate from exim3 to exim 4 and ran into problems with my virtual domain settings. In Exim 3, i solved it with the following directors:

virtual_alias:
driver = aliasfile
domains = "lsearch;/opt/exim/etc/maildomains"
file = /opt/exim/etc/aliases.$domain
search_type = lsearch
qualify_preserve_domain
pipe_transport = address_pipe
modemask = 002

virtual_localuser:
driver = aliasfile
transport = local_delivery
domains = "lsearch;/opt/exim/etc/maildomains"
file = /opt/exim/etc/passwd.$domain
user = ${local_part}
group = mail
search_type = lsearch
modemask = 002
no_more

Like this, I had per Domain an /opt/exim/etc/aliases.$domain and /opt/exim/etc/passwd.$domain. So, for every domain , all local mailaddresses were kept resective aliases and passwd files.

How can I get this to work with exim 4?


Bye
Tim