testsuite: abstract out common conf settings
[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 = DIR/aux-fixed/TESTNUM.list.${local_part}
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 = ${if exists{DIR/aux-fixed/TESTNUM.restrict.${local_part}} \
42     {DIR/aux-fixed/TESTNUM.restrict.${local_part}}{zzzz}}
43   syntax_errors_to = ${local_part}-request@test.ex
44
45 exeter_listf:
46   driver = accept
47   domains = listr.test.ex
48   no_more
49   retry_use_local_part
50   transport = not_allowed
51
52
53 # ----- Transports -----
54
55 begin transports
56
57 not_allowed:
58   driver = autoreply
59
60
61 # ----- Retry -----
62
63
64 begin retry
65
66 * * F,5d,10s
67
68
69 # End