[Exim] Virtual Domains

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nico van der Dussen
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Virtual Domains
Hi,

there seems to be a demand for virtual host routing.

The code below is from either the manual or from the exim3 to 4
conversion script, or a combination from both - I can't remember
anymore


virtual:
driver = redirect
allow_defer
allow_fail
data = ${lookup{$local_part}lsearch*{/usr/exim/virtual/alias/$domain}}
domains = dbm;/usr/exim/virtual/domains
no_more
retry_use_local_part

I also disabled the userforward: director.

the domains line could most probably be replaced with a dsearch

This works for me without any problems for about 20 domains sending
regular mail.

Nico

www.vddi.co.za___________________________
N van der Dussen
VDDi
Posbus 13488, CLUBVIEW, RSA, 0014
Tel +27 12 663-2710
Faks +27 12 663-2808
___________________________________