1 # Exim test configuration 0900
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 = *
16 tls_advertise_hosts = ${if eq {Y}{tls} {*}}
19 # ----- Main settings -----
21 domainlist local_domains = @ : test.ex
23 acl_smtp_rcpt = check_recipient
24 acl_smtp_data_prdr = check_prdr
25 acl_smtp_data = check_data
26 trusted_users = CALLER
28 smtp_receive_timeout = 2s
29 log_selector = +received_recipients
31 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
32 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
42 accept domains = +local_domains
43 deny message = relay not permitted
46 accept local_parts = good
50 warn message = X-acl-message-linecount: $message_linecount
60 condition = ${if !eq {SERVER}{server}}
61 transport = remote_smtp${if eq {X}{dkim} {_dkim}}
66 domains = ! +local_domains
67 data = :fail: unrouteable mail domain "$domain"
72 transport = local_delivery
73 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
76 # ----- Transports -----
84 file = DIR/test-mail/$local_part
85 headers_add = "X-body-linecount: $body_linecount\n\
86 X-message-linecount: $message_linecount\n\
87 X-received-count: $received_count"
106 dkim_domain = test.ex
108 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
109 .ifndef HEADERS_MAXSIZE
110 dkim_sign_headers = OPT