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