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