1 # Exim test configuration 2009
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
12 gecos_name = CALLER_NAME
14 # ----- Main settings -----
16 acl_smtp_rcpt = check_recipient
17 hostlist tls_hosts = 127.0.0.1
22 tls_advertise_hosts = *
24 # Set certificate only if server
26 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
36 deny hosts = +tls_hosts
37 message = encryption required
39 accept domains = +local_domains
40 deny message = relay not permitted
49 condition = ${if eq {SERVER}{server}{no}{yes}}
51 transport = send_to_server
54 # ----- Transports -----
62 hosts_avoid_tls = 127.0.0.1