testsuite: abstract out common conf settings
[exim.git] / test / confs / 0227
CommitLineData
afda344b
PH
1# Exim test configuration 0227
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b 5primary_hostname = myhost.test.ex
afda344b
PH
6
7# ----- Main settings -----
8
9domainlist local_domains = test.ex
10
11acl_smtp_rcpt = check_recipient
12acl_smtp_data = check_data
13
14
15# ----- ACL -----
16
17begin acl
18
19check_recipient:
20 warn senders = ^uncheckable2@
21 control = no_multiline_responses
22 accept hosts = V4NET.0.0.4
23 deny hosts = V4NET.0.0.1
24 !verify = sender/callout=no_cache
25 deny hosts = V4NET.0.0.3
afda344b
PH
26 !verify = recipient/callout=no_cache
27 deny hosts = V4NET.0.0.5
afda344b
PH
28 !verify = sender/callout=no_cache/check_postmaster
29 require verify = sender
30 accept domains = +local_domains
31 deny message = relay not permitted
32
33check_data:
34 deny hosts = V4NET.0.0.4
35 !verify = header_sender/callout=no_cache
2a47f028 36 accept
afda344b
PH
37
38
39# ----- Routers -----
40
41begin routers
42
43mxt3:
44 driver = dnslookup
45 domains = mxt3.test.ex
46 self = send
47 transport = smtp
48
49localhost1:
50 driver = manualroute
51 domains = localhost1
52 route_list = * 127.0.0.1 byname
53 self = send
54 transport = smtp
55 no_more
56
57lmtp:
58 driver = manualroute
59 domains = remote.lmtp
60 route_list = * 127.0.0.1
61 transport = lmtp
62 self = send
63
64all:
65 driver = manualroute
66 domains = ! +local_domains
67 route_list = * "127.0.0.1 : HOSTIPV4" byname
68 self = send
69 transport = smtp
70 no_more
71
72
73# ----- Transports -----
74
75begin transports
76
77smtp:
78 driver = smtp
79 port = PORT_S
80
81lmtp:
82 driver = smtp
83 port = PORT_S
84 protocol = lmtp
85
86
87# ----- Retry -----
88
89begin retry
90
91* * F,5d,10s
92
93
94# End