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 =
24 .ifdef _HAVE_PIPE_CONNECT
25 pipelining_connect_advertise_hosts =
28 primary_hostname = myhost.test.ex
30 # ----- Main settings -----
36 log_selector = +tls_peerdn +received_recipients
41 tls_advertise_hosts = *
42 tls_advertise_requiretls = SRV
44 # Set certificate only if server
46 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
47 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
50 #tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
59 deny condition = ${if eq {SERVER}{server}}
60 !sender_domains = test.ex : myhost.test.ex
64 warn condition = ${if eq {SERVER}{server}}
65 logwrite = requiretls: $requiretls
67 # define this to upgrade messages to REQUIRETLS
70 condition = ${if !bool{$requiretls}}
79 condition = ${if !bool{$requiretls}}
90 condition = ${if !def:sender_address}
91 condition = ${if first_delivery}
97 condition = ${if eq {$received_ip_address}{HOSTIPV4} {yes}{no}}
98 transport = file_a_bounce
102 transport = send_to_server
105 # ----- Transports -----
113 file = DIR/test-mail/$local_part
122 tls_certificate = DIR/aux-fixed/cert2
123 tls_privatekey = DIR/aux-fixed/cert2
124 tls_verify_certificates = DIR/aux-fixed/cert2
125 tls_try_verify_hosts = :