Auteur: Scott
Date:
À: exim-users
Sujet: [exim] Domain Alias for Virt Domains
Greetings,
We recently installed exim (after having previously run qmail).
So far it's running great except that the aliases are doing something
a little funky and I'm not quite up to speed on writing the rules.
Here's what's happening:
username: dave
email address: dave@???
dave@??? is receiving email for dave@??? and
dave@???, basically any domain we host that doesn't have a
user with the alias of dave.
I have a subdir called /etc/exim/virtual, in there are files for each
domain with all the users and aliases listed.
In the /etc/exim/ dir there is a file called domainlist, which is a
list of all the domains.
Here is the alias rule in the exim.conf file:
virtual:
driver = redirect
domains = dsearch;/etc/exim/virtual/
data = ${lookup{$local_part@$domain}lsearch{/etc/exim/virtual/$domain}}
Any other info I need to supply?
Thanks!
Scott