manualroute as dynamic module
[exim.git] / test / confs / 1103
1 # Exim test configuration 1103
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   create_file = DIR/test-mail
48   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
49   user = CALLER
50
51
52 # ----- Retry -----
53
54
55 begin retry
56
57 * * F,5d,10s
58
59
60 # End