1 # Exim test configuration 5910
5 # advertise REQUIRETLS unless commandline override
7 # set on commandline to add an extra rcpt-time acl condition
12 host_lookup_order = bydns
13 spool_directory = DIR/spool
16 log_file_path = DIR/spool/log/SERVER%slog
18 log_file_path = DIR/spool/log/%slog
22 gecos_name = CALLER_NAME
23 chunking_advertise_hosts =
25 primary_hostname = myhost.test.ex
27 # ----- Main settings -----
33 log_selector = +tls_peerdn +received_recipients
38 tls_advertise_hosts = *
39 tls_advertise_requiretls = SRV
41 # Set certificate only if server
43 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
44 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
47 #tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
56 deny condition = ${if eq {SERVER}{server}}
57 !sender_domains = test.ex : myhost.test.ex
61 warn condition = ${if eq {SERVER}{server}}
62 logwrite = requiretls: $requiretls
64 # define this to upgrade messages to REQUIRETLS
67 condition = ${if !bool{$requiretls}}
76 condition = ${if !bool{$requiretls}}
87 condition = ${if !def:sender_address}
88 condition = ${if first_delivery}
94 condition = ${if eq {$received_ip_address}{HOSTIPV4} {yes}{no}}
95 transport = file_a_bounce
99 transport = send_to_server
102 # ----- Transports -----
110 file = DIR/test-mail/$local_part
119 tls_certificate = DIR/aux-fixed/cert2
120 tls_privatekey = DIR/aux-fixed/cert2
121 tls_verify_certificates = DIR/aux-fixed/cert2
122 tls_try_verify_hosts = :