Logging: support +outgoing_port on defer lines and per-host error lines
[exim.git] / test / confs / 0227
CommitLineData
afda344b
PH
1# Exim test configuration 0227
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
5primary_hostname = myhost.test.ex
afda344b
PH
6spool_directory = DIR/spool
7log_file_path = DIR/spool/log/%slog
8gecos_pattern = ""
9gecos_name = CALLER_NAME
23f3dc67 10tls_advertise_hosts =
afda344b
PH
11
12# ----- Main settings -----
13
14domainlist local_domains = test.ex
15
16acl_smtp_rcpt = check_recipient
17acl_smtp_data = check_data
18
19
20# ----- ACL -----
21
22begin acl
23
24check_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
afda344b
PH
31 !verify = recipient/callout=no_cache
32 deny hosts = V4NET.0.0.5
afda344b
PH
33 !verify = sender/callout=no_cache/check_postmaster
34 require verify = sender
35 accept domains = +local_domains
36 deny message = relay not permitted
37
38check_data:
39 deny hosts = V4NET.0.0.4
40 !verify = header_sender/callout=no_cache
2a47f028 41 accept
afda344b
PH
42
43
44# ----- Routers -----
45
46begin routers
47
48mxt3:
49 driver = dnslookup
50 domains = mxt3.test.ex
51 self = send
52 transport = smtp
53
54localhost1:
55 driver = manualroute
56 domains = localhost1
57 route_list = * 127.0.0.1 byname
58 self = send
59 transport = smtp
60 no_more
61
62lmtp:
63 driver = manualroute
64 domains = remote.lmtp
65 route_list = * 127.0.0.1
66 transport = lmtp
67 self = send
68
69all:
70 driver = manualroute
71 domains = ! +local_domains
72 route_list = * "127.0.0.1 : HOSTIPV4" byname
73 self = send
74 transport = smtp
75 no_more
76
77
78# ----- Transports -----
79
80begin transports
81
82smtp:
83 driver = smtp
84 port = PORT_S
85
86lmtp:
87 driver = smtp
88 port = PORT_S
89 protocol = lmtp
90
91
92# ----- Retry -----
93
94begin retry
95
96* * F,5d,10s
97
98
99# End