1 # Exim test configuration 0901
9 host_lookup_order = bydns
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/SERVER%slog
13 gecos_name = CALLER_NAME
14 chunking_advertise_hosts = *
15 tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
21 pipelining_advertise_hosts = :
23 # ----- Main settings -----
25 primary_hostname = testhost.test.ex
26 domainlist local_domains = @ : test.ex
28 acl_smtp_rcpt = check_recipient
29 acl_smtp_data_prdr = check_prdr
30 acl_smtp_data = check_data
31 trusted_users = CALLER
33 smtp_receive_timeout = 2s
34 log_selector = +received_recipients
36 .ifdef _OPT_MAIN_TLS_CERTIFICATE
37 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
38 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
49 accept domains = +local_domains
50 deny message = relay not permitted
53 accept local_parts = good
57 warn message = X-acl-message-linecount: $message_linecount
66 condition = ${if !eq {SERVER}{server}}
67 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
72 domains = ! +local_domains
73 data = :fail: unrouteable mail domain "$domain"
78 transport = local_delivery
79 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
82 # ----- Transports -----
90 file = DIR/test-mail/$local_part
91 headers_add = "X-body-linecount: $body_linecount\n\
92 X-message-linecount: $message_linecount\n\
93 X-received-count: $received_count"
113 dkim_domain = test.ex
115 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
116 .ifndef HEADERS_MAXSIZE
117 dkim_sign_headers = LIST