1 # Exim test configuration 0005
5 host_lookup_order = bydns
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
10 gecos_name = CALLER_NAME
12 # ----- Main settings -----
14 domainlist local_domains = @
16 acl_smtp_rcpt = check_recipient
17 acl_smtp_data = check_data
18 message_id_header_domain = ${if eq{0}{0}{some.domain}}
19 message_id_header_text = ${if eq{0}{0}{a@b[c]}}
20 trusted_users = CALLER
29 accept domains = +local_domains
30 deny message = relay not permitted
33 warn message = X-acl-message-linecount: $message_linecount
43 domains = ! +local_domains
44 data = :fail: unrouteable mail domain "$domain"
49 transport = local_delivery
50 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
53 # ----- Transports -----
61 file = DIR/test-mail/$local_part
62 headers_add = "X-body-linecount: $body_linecount\n\
63 X-message-linecount: $message_linecount\n\
64 X-received-count: $received_count"