1 # Exim test configuration 2109
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_name = CALLER_NAME
13 # ----- Main settings -----
15 acl_smtp_rcpt = check_recipient
16 hostlist tls_hosts = 127.0.0.1
21 tls_advertise_hosts = *
23 # Set certificate only if server
25 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
35 deny hosts = +tls_hosts
36 message = encryption required
38 accept domains = +local_domains
39 deny message = relay not permitted
48 condition = ${if eq {SERVER}{server}{no}{yes}}
50 transport = send_to_server
53 # ----- Transports -----
61 hosts_avoid_tls = 127.0.0.1