Move from table to tree for lookups
[exim.git] / test / confs / 0251
1 # Exim test configuration 0251
2
3 SERVER =
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = check_recipient
12
13 domainlist local_domains = test.ex : *.test.ex
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 exeter_listr:
31   driver = redirect
32   no_check_local_user
33   domains = listr.test.ex
34   errors_to = ${local_part}-request@test.ex
35   file = ${lookup {TESTNUM.list.$local_part} dsearch,ret=full {DIR/aux-fixed} {$value}fail}
36   forbid_file
37   forbid_pipe
38   one_time
39   require_files = DIR/aux-fixed/TESTNUM.restrict.${local_part}
40   retry_use_local_part
41   senders = ${lookup {TESTNUM.restrict.$local_part} dsearch,ret=full {DIR/aux-fixed} {$value} {zzzz}}
42   syntax_errors_to = ${local_part}-request@test.ex
43
44 exeter_listf:
45   driver = accept
46   domains = listr.test.ex
47   no_more
48   retry_use_local_part
49   transport = not_allowed
50
51
52 # ----- Transports -----
53
54 begin transports
55
56 not_allowed:
57   driver = autoreply
58
59
60 # ----- Retry -----
61
62
63 begin retry
64
65 * * F,5d,10s
66
67
68 # End