Move the LMDB lokup support from Experimental to mainline
[users/heiko/exim.git] / test / confs / 0243
1 # Exim test configuration 0243
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_rcpt = check_recipient
10
11 domainlist local_domains = nl.demon.net
12 qualify_domain = nl.demon.net
13
14
15 # ----- ACL -----
16
17 begin acl
18
19 check_recipient:
20   deny    message = unrouteable address
21          !verify = recipient
22   accept  domains = +local_domains
23   deny    message = relay not permitted
24
25
26 # ----- Routers -----
27
28 begin routers
29
30 auto_antwoord:
31   driver = accept
32   domains = *.demon.net
33   require_files = DIR/aux-fixed/TESTNUM.antwoord-${local_part}
34   retry_use_local_part
35   transport = stuur_auto_antwoord
36   unseen
37
38 algemeen_aliases:
39   driver = redirect
40   allow_defer
41   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.algemeen}}
42   domains = "nl.demon.net:*.nl.demon.net:fax-gw.demon.nl: \
43              www-3.demon.nl : localhost"
44   file_transport = address_file
45   group = EXIMGROUP
46   pipe_transport = address_pipe
47   retry_use_local_part
48   user = EXIMUSER
49
50 rest:
51   driver = accept
52   retry_use_local_part
53   transport = local_delivery
54
55
56 # ----- Transports -----
57
58 begin transports
59
60 local_delivery:
61   driver = appendfile
62   file = DIR/test-mail/${bless:$local_part}
63   user = CALLER
64
65 address_file:
66   driver = appendfile
67   user = CALLER
68
69 address_pipe:
70   driver = pipe
71
72 stuur_auto_antwoord:
73   driver = autoreply
74   file = DIR/aux-fixed/TESTNUM.antwoord-${bless:$local_part}
75   file_expand
76   from = "${lookup{$local_part} lsearch \
77            {DIR/aux-fixed/TESTNUM.beantwoorders} {$value}}"
78   subject = "Re: $h_subject"
79   to = ${return_path}
80   reply_to = x@y, \n p@q
81   user = EXIMUSER
82
83
84 # ----- Retry -----
85
86
87 begin retry
88
89 * * F,5d,10s
90
91
92 # End