Move certificate name checking to mainline, default enabled
[users/heiko/exim.git] / test / confs / 2103
1 # Exim test configuration 2103
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 acl_smtp_rcpt = check_recipient
15
16 queue_only
17 queue_run_in_order
18
19 tls_certificate = DIR/aux-fixed/cert1
20 tls_privatekey = DIR/aux-fixed/cert1
21
22 tls_advertise_hosts = *
23
24
25 # ------ ACL ------
26
27 begin acl
28
29 check_recipient:
30   deny   message = unacceptable cipher $tls_cipher
31         !encrypted = ${if eq {$sender_host_address}{HOSTIPV4}{IDEA-CBC-MD5}{*}}
32   accept
33
34
35 # ----- Routers -----
36
37 begin routers
38
39 abc:
40   driver = accept
41   retry_use_local_part
42   transport = local_delivery
43
44
45 # ----- Transports -----
46
47 begin transports
48
49 local_delivery:
50   driver = appendfile
51   file = DIR/test-mail/$local_part
52   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
53   user = CALLER
54
55
56 # ----- Retry -----
57
58
59 begin retry
60
61 * * F,5d,10s
62
63
64 # End