blob: 18d8abbbea33136eb9af0aed9871c6a54fe8d9d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Exim test configuration 1101
# The test uses the same config for two Exim processes
#
# ,------ callout -------.
# | |
# | .----------. |
# `--> PORT_S | |
# client-anytls --> PORT_D Exim |----'
# `----------'
.include DIR/aux-var/tls_conf_prefix
primary_hostname = myhost.test.ex
# ----- Main settings -----
tls_advertise_hosts = *
tls_certificate = DIR/aux-fixed/cert1
tls_privatekey = DIR/aux-fixed/cert1
acl_smtp_rcpt = acl_check_rcpt
begin acl
acl_check_rcpt:
accept condition = ${if eq{$received_port}{PORT_S}}
message = Accepted (rcpt on backend)
accept verify = recipient/callout=no_cache
message = Accepted (rcpt via callout)
begin routers
catchall:
driver = accept
transport = local_smtp
begin transports
local_smtp:
driver = smtp
port = PORT_S
hosts = 127.0.0.1
allow_localhost
hosts_require_tls = *
tls_verify_certificates = DIR/aux-fixed/cert1
tls_verify_cert_hostnames = :
# End
|