Add automatic macros for compile-time feature options
[users/jgh/exim.git] / test / confs / 2103
1 # Exim test configuration 2103
2
3 .include DIR/aux-var/tls_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_rcpt = check_recipient
10
11 queue_only
12 queue_run_in_order
13
14 tls_certificate = DIR/aux-fixed/cert1
15 tls_privatekey = DIR/aux-fixed/cert1
16
17 tls_advertise_hosts = *
18
19
20 # ------ ACL ------
21
22 begin acl
23
24 check_recipient:
25   deny   message = unacceptable cipher $tls_cipher
26         !encrypted = ${if eq {$sender_host_address}{HOSTIPV4}{IDEA-CBC-MD5}{*}}
27   accept
28
29
30 # ----- Routers -----
31
32 begin routers
33
34 abc:
35   driver = accept
36   retry_use_local_part
37   transport = local_delivery
38
39
40 # ----- Transports -----
41
42 begin transports
43
44 local_delivery:
45   driver = appendfile
46   file = DIR/test-mail/$local_part
47   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
48   user = CALLER
49
50
51 # ----- Retry -----
52
53
54 begin retry
55
56 * * F,5d,10s
57
58
59 # End