1 # Exim test configuration 0900
8 host_lookup_order = bydns
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
12 gecos_name = CALLER_NAME
13 chunking_advertise_hosts = *
17 # ----- Main settings -----
19 domainlist local_domains = @ : test.ex
21 acl_smtp_rcpt = check_recipient
22 acl_smtp_data = check_data
23 trusted_users = CALLER
25 smtp_receive_timeout = 2s
26 log_selector = +received_recipients
35 accept domains = +local_domains
36 deny message = relay not permitted
39 warn message = X-acl-message-linecount: $message_linecount
49 condition = ${if !eq {SERVER}{server}}
50 transport = remote_smtp${if eq {X}{dkim} {_dkim}}
55 domains = ! +local_domains
56 data = :fail: unrouteable mail domain "$domain"
61 transport = local_delivery
62 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
65 # ----- Transports -----
73 file = DIR/test-mail/$local_part
74 headers_add = "X-body-linecount: $body_linecount\n\
75 X-message-linecount: $message_linecount\n\
76 X-received-count: $received_count"
97 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
98 .ifndef HEADERS_MAXSIZE
99 dkim_sign_headers = OPT