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