1 # Exim test configuration 0900
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/SERVER%slog
9 gecos_name = CALLER_NAME
10 chunking_advertise_hosts = *
14 # ----- Main settings -----
16 domainlist local_domains = @
18 acl_smtp_rcpt = check_recipient
19 acl_smtp_data = check_data
20 message_id_header_domain = ${if eq{0}{0}{some.domain}}
21 message_id_header_text = ${if eq{0}{0}{a@b[c]}}
22 trusted_users = CALLER
24 smtp_receive_timeout = 2s
33 accept domains = +local_domains
34 deny message = relay not permitted
37 warn message = X-acl-message-linecount: $message_linecount
47 domains = ! +local_domains
48 data = :fail: unrouteable mail domain "$domain"
53 transport = local_delivery
54 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
57 # ----- Transports -----
65 file = DIR/test-mail/$local_part
66 headers_add = "X-body-linecount: $body_linecount\n\
67 X-message-linecount: $message_linecount\n\
68 X-received-count: $received_count"