Exim 4.72 release
[exim-website.git] / config.samples / C007
1 Date: Thu, 6 Aug 1998 16:01:25 -0400
2 From: Peter Radcliffe <pir@pir.net>
3
4 If I host a domain foo.dom on my machine as a virtual domain I expect it
5 to be completely virtual and seperate from other mail domains that end
6 up on my machine. pir@foo.dom may or may not be me ...
7
8 I have separate aliasfiles per domain (because its faster and more
9 suitable to my application) and use:
10
11 # I move this config between different db implementations that either do
12 # or don't expect the .db extension.
13 DBEXT = .db
14 #DBEXT = 
15
16 local_domains = "....:dbm;/usr/local/etc/exim/dbm/virtualDBEXT:..."
17
18 As the first director:
19
20 # deal with virtual domains.
21 virtual:
22   driver = aliasfile
23   domains = dbm;/usr/local/etc/exim/dbm/virtualDBEXT
24   no_more
25   rewrite = false
26   file = /usr/local/etc/exim/domains/${lc:${length_1:${domain}}/${domain}}DBEXT
27   search_type = dbm*