1 # Exim test configuration 0900
9 add_environment = SSLKEYLOGFILE=DIR/spool/sslkeys
10 host_lookup_order = bydns
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/SERVER%slog
14 gecos_name = CALLER_NAME
15 chunking_advertise_hosts = *
17 tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
19 .ifdef _HAVE_PIPE_CONNECT
20 pipelining_connect_advertise_hosts = :
25 .ifdef _OPT_MAIN_LIMITS_ADVERTISE_HOSTS
26 limits_advertise_hosts = !*
29 # ----- Main settings -----
31 primary_hostname = testhost.test.ex
32 domainlist local_domains = @ : test.ex
34 acl_smtp_rcpt = check_recipient
36 acl_smtp_data_prdr = check_prdr
38 acl_smtp_data = check_data
39 trusted_users = CALLER
41 smtp_receive_timeout = 2s
44 log_selector = +received_recipients +connection_id +millisec +dkim_verbose
46 log_selector = +received_recipients +connection_id +millisec
50 tls_certificate = DIR/aux-fixed/cert1
61 drop condition = ${if eq {SERVER}{server}}
62 message = 550 we really do not like you
65 accept domains = +local_domains
66 deny message = relay not permitted
69 accept local_parts = good
73 warn message = X-acl-message-linecount: $message_linecount
82 condition = ${if !eq {SERVER}{server}}
83 transport = remote_smtp${if eq {SRV}{dkim} {_dkim}}
88 domains = ! +local_domains
89 data = :fail: unrouteable mail domain "$domain"
94 transport = local_delivery
95 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
98 # ----- Transports -----
106 file = DIR/test-mail/$local_part
107 create_file = DIR/test-mail
108 headers_add = "X-body-linecount: $body_linecount\n\
109 X-message-linecount: $message_linecount\n\
110 X-received-count: $received_count"
116 hosts = 127.0.0.1 : HOSTIPV4
121 hosts_try_fastopen = :
123 tls_verify_certificates = DIR/aux-fixed/cert1
124 tls_verify_cert_hostnames =
134 hosts_try_fastopen = :
136 tls_verify_certificates = DIR/aux-fixed/cert1
137 tls_verify_cert_hostnames =
145 dkim_domain = test.ex
147 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
148 .ifndef HEADERS_MAXSIZE
149 dkim_sign_headers = LIST