TLS: Default tls_advertise_hosts to "*". Bug 1709
[exim.git] / test / confs / 4201
... / ...
CommitLineData
1# Exim test configuration 4201
2# SMTPUTF8 handling
3
4OPTION = *
5CONTROL =
6INSERT =
7SUB =
8
9exim_path = EXIM_PATH
10host_lookup_order = bydns
11spool_directory = DIR/spool
12log_file_path = DIR/spool/log/%slog
13gecos_pattern = ""
14gecos_name = CALLER_NAME
15tls_advertise_hosts =
16
17# ----- Main settings -----
18
19domainlist local_domains = test.ex : cname
20
21acl_smtp_rcpt = check_recipient
22acl_not_smtp = non_smtp
23
24trusted_users = CALLER
25log_selector = +received_recipients +sender_on_delivery
26
27.ifdef SERVER
28queue_only
29queue_run_in_order
30.endif
31
32smtputf8_advertise_hosts = OPTION
33
34SUB
35
36
37# ----- ACL -----
38
39begin acl
40
41
42.ifdef SERVER
43
44check_recipient:
45 accept hosts = :
46 accept domains = +local_domains
47 local_parts = ^(xn--)?user.*\$
48 deny message = relay not permitted
49
50.else
51
52sub:
53.ifdef INSERT
54 require INSERT
55.endif
56.ifdef CONTROL
57 require CONTROL
58.endif
59 accept
60
61check_recipient:
62 accept domains = *
63 acl = sub
64
65non_smtp:
66 accept senders = :
67 control = queue_only
68 accept
69
70.endif
71
72# ----- Routers -----
73
74begin routers
75
76.ifdef SERVER
77
78fail_remote_domains:
79 driver = redirect
80 domains = ! +local_domains
81 data = :fail: unrouteable mail domain "$domain"
82
83bounces:
84 driver = redirect
85 condition = ${if eq {} {$sender_address}}
86 data = DIR/test-mail/$local_part
87 file_transport = local_delivery
88
89localuser:
90 driver = redirect
91 data = :blackhole:
92
93.else
94
95bounces:
96 driver = redirect
97 domains = *.local
98 data = DIR/test-mail/$local_part
99 file_transport = local_delivery
100
101rmt:
102 driver = manualroute
103 domains = +local_domains
104 route_data = <;[127.0.0.1]:PORT_D
105 transport = rmt_smtp
106 self = send
107
108.endif
109
110# ----- Transports -----
111
112begin transports
113
114local_delivery:
115 driver = appendfile
116 user = CALLER
117 delivery_date_add
118 envelope_to_add
119 file = DIR/test-mail/$local_part
120 headers_add = "X-body-linecount: $body_linecount\n\
121 X-message-linecount: $message_linecount\n\
122 X-received-count: $received_count"
123 return_path_add
124
125rmt_smtp:
126 driver = smtp
127
128# End