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} {*}}
17 pipelining_advertise_hosts = :
19 # ----- Main settings -----
21 primary_hostname = testhost.test.ex
22 domainlist local_domains = @ : test.ex
24 acl_smtp_rcpt = check_recipient
25 acl_smtp_data_prdr = check_prdr
26 acl_smtp_data = check_data
27 trusted_users = CALLER
29 smtp_receive_timeout = 2s
30 log_selector = +received_recipients
32 .ifdef _OPT_MAIN_TLS_CERTIFICATE
33 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
34 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
45 accept domains = +local_domains
46 deny message = relay not permitted
49 accept local_parts = good
53 warn message = X-acl-message-linecount: $message_linecount
62 condition = ${if !eq {SERVER}{server}}
63 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
68 domains = ! +local_domains
69 data = :fail: unrouteable mail domain "$domain"
74 transport = local_delivery
75 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
78 # ----- Transports -----
86 file = DIR/test-mail/$local_part
87 headers_add = "X-body-linecount: $body_linecount\n\
88 X-message-linecount: $message_linecount\n\
89 X-received-count: $received_count"
109 dkim_domain = test.ex
111 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
112 .ifndef HEADERS_MAXSIZE
113 dkim_sign_headers = LIST