Make {bounce,warn}_message_file expanded. Bug 2522
[exim.git] / test / confs / 3720
CommitLineData
b53c265b
JH
1# Exim test configuration 3720
2
3SERVER=
4
5.include DIR/aux-var/tls_conf_prefix
6
7primary_hostname = myhost.test.ex
8log_selector = +received_recipients +outgoing_port
9
10# ----- Main settings -----
11
12acl_smtp_auth = log_call
13acl_smtp_mail = check_authd
14acl_smtp_rcpt = check_authd
15acl_smtp_data = ar_header
16
17queue_only
18queue_run_in_order
19trusted_users = CALLER
20
21tls_advertise_hosts = *
22tls_certificate = DIR/aux-fixed/cert1
23
24tls_verify_hosts = *
25tls_verify_certificates = DIR/aux-fixed/cert2
26
27
28# ----- ACL -----
29
30begin acl
31
32log_call:
33 accept logwrite = Auth ACL called, after smtp cmd "$smtp_command"
34
35check_authd:
36 deny message = authentication required
37 !authenticated = *
38 accept
39
40ar_header:
41 accept add_header = :at_start:${authresults {$primary_hostname}}
42
43# ----- Authentication -----
44
45begin authenticators
46
47ext_ccert_cn:
48 driver = external
49 public_name = EXTERNAL
50
51 server_advertise_condition = ${if eq{$tls_in_cipher}{}{no}{yes}}
52 server_param2 = ${certextract {subject,CN} {$tls_in_peercert}}
53 server_condition = ${if eq {$auth2}{$auth1}}
54 server_set_id = $auth1
55 server_debug_print = +++TLS \$auth1="$auth1"
56
57 client_send = "Phil Pennock"
58
59
60# ----- Routers -----
61
62begin routers
63
64server_r:
65 driver = accept
66 condition = ${if eq {server}{SERVER}}
67 transport = file
68
69client_r1:
70 driver = accept
71 transport = t1
72
73
74# ----- Transports -----
75
76begin transports
77
78t1:
79 driver = smtp
80 hosts = 127.0.0.1
81 port = PORT_D
277b9979 82 hosts_try_fastopen = :
b53c265b
JH
83 allow_localhost
84 tls_certificate = DIR/aux-fixed/cert2
85 tls_verify_certificates = DIR/aux-fixed/cert1
86 tls_verify_cert_hostnames = :
87 hosts_try_auth = *
88
89file:
90 driver = appendfile
0d2e392e 91 file = DIR/test-mail/${bless:$local_part}
b53c265b
JH
92 user = CALLER
93
94# End