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