Update tests for 4.68 (after testing on tahini).
[exim.git] / test / confs / 0227
1 # Exim test configuration 0227
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex
15
16 acl_smtp_rcpt = check_recipient
17 acl_smtp_data = check_data
18
19
20 # ----- ACL -----
21
22 begin acl
23
24 check_recipient:
25 warn senders = ^uncheckable2@
26 control = no_multiline_responses
27 accept hosts = V4NET.0.0.4
28 deny hosts = V4NET.0.0.1
29 !verify = sender/callout=no_cache
30 deny hosts = V4NET.0.0.3
31 log_message = ($recipient_verify_failure)
32 !verify = recipient/callout=no_cache
33 deny hosts = V4NET.0.0.5
34 log_message = ($sender_verify_failure)
35 !verify = sender/callout=no_cache/check_postmaster
36 require verify = sender
37 accept domains = +local_domains
38 deny message = relay not permitted
39
40 check_data:
41 deny hosts = V4NET.0.0.4
42 !verify = header_sender/callout=no_cache
43 accept
44
45
46 # ----- Routers -----
47
48 begin routers
49
50 mxt3:
51 driver = dnslookup
52 domains = mxt3.test.ex
53 self = send
54 transport = smtp
55
56 localhost1:
57 driver = manualroute
58 domains = localhost1
59 route_list = * 127.0.0.1 byname
60 self = send
61 transport = smtp
62 no_more
63
64 lmtp:
65 driver = manualroute
66 domains = remote.lmtp
67 route_list = * 127.0.0.1
68 transport = lmtp
69 self = send
70
71 all:
72 driver = manualroute
73 domains = ! +local_domains
74 route_list = * "127.0.0.1 : HOSTIPV4" byname
75 self = send
76 transport = smtp
77 no_more
78
79
80 # ----- Transports -----
81
82 begin transports
83
84 smtp:
85 driver = smtp
86 port = PORT_S
87
88 lmtp:
89 driver = smtp
90 port = PORT_S
91 protocol = lmtp
92
93
94 # ----- Retry -----
95
96 begin retry
97
98 * * F,5d,10s
99
100
101 # End