testcase
[exim.git] / test / confs / 0251
1 # Exim test configuration 0251
2
3 SERVER =
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13 tls_advertise_hosts =
14
15 # ----- Main settings -----
16
17 acl_smtp_rcpt = check_recipient
18
19 domainlist local_domains = test.ex : *.test.ex
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_recipient:
26   deny    message = unrouteable address
27          !verify = recipient
28   accept  domains = +local_domains
29   deny    message = relay not permitted
30
31
32 # ----- Routers -----
33
34 begin routers
35
36 exeter_listr:
37   driver = redirect
38   no_check_local_user
39   domains = listr.test.ex
40   errors_to = ${local_part}-request@test.ex
41   file = DIR/aux-fixed/TESTNUM.list.${local_part}
42   forbid_file
43   forbid_pipe
44   one_time
45   require_files = DIR/aux-fixed/TESTNUM.restrict.${local_part}
46   retry_use_local_part
47   senders = ${if exists{DIR/aux-fixed/TESTNUM.restrict.${local_part}} \
48     {DIR/aux-fixed/TESTNUM.restrict.${local_part}}{zzzz}}
49   syntax_errors_to = ${local_part}-request@test.ex
50
51 exeter_listf:
52   driver = accept
53   domains = listr.test.ex
54   no_more
55   retry_use_local_part
56   transport = not_allowed
57
58
59 # ----- Transports -----
60
61 begin transports
62
63 not_allowed:
64   driver = autoreply
65
66
67 # ----- Retry -----
68
69
70 begin retry
71
72 * * F,5d,10s
73
74
75 # End