1 # Exim test configuration 2009
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = check_recipient
12 hostlist tls_hosts = 127.0.0.1
17 tls_advertise_hosts = *
19 # Set certificate only if server
21 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
22 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31 deny hosts = +tls_hosts
32 message = encryption required
34 accept domains = +local_domains
35 deny message = relay not permitted
44 condition = ${if eq {SERVER}{server}{no}{yes}}
46 transport = send_to_server
49 # ----- Transports -----
57 hosts_avoid_tls = 127.0.0.1