1 # Exim test configuration 0900
6 host_lookup_order = bydns
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_name = CALLER_NAME
11 chunking_advertise_hosts = *
15 # ----- Main settings -----
17 domainlist local_domains = @
19 acl_smtp_rcpt = check_recipient
20 acl_smtp_data = check_data
21 trusted_users = CALLER
23 smtp_receive_timeout = 2s
32 accept domains = +local_domains
33 deny message = relay not permitted
36 warn message = X-acl-message-linecount: $message_linecount
46 condition = ${if !eq {SERVER}{server}}
47 transport = remote_smtp
52 domains = ! +local_domains
53 data = :fail: unrouteable mail domain "$domain"
58 transport = local_delivery
59 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
62 # ----- Transports -----
70 file = DIR/test-mail/$local_part
71 headers_add = "X-body-linecount: $body_linecount\n\
72 X-message-linecount: $message_linecount\n\
73 X-received-count: $received_count"