1 # Exim test configuration 0901
9 host_lookup_order = bydns
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/SERVER%slog
13 gecos_name = CALLER_NAME
14 chunking_advertise_hosts = *
15 tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
20 .ifdef _OPT_MAIN_LIMITS_ADVERTISE_HOSTS
21 limits_advertise_hosts = !*
24 pipelining_advertise_hosts = :
26 # ----- Main settings -----
28 primary_hostname = testhost.test.ex
29 domainlist local_domains = @ : test.ex
31 acl_smtp_rcpt = check_recipient
32 acl_smtp_data_prdr = check_prdr
33 acl_smtp_data = check_data
34 trusted_users = CALLER
36 smtp_receive_timeout = 2s
37 log_selector = +received_recipients
39 .ifdef _OPT_MAIN_TLS_CERTIFICATE
40 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
41 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
52 accept domains = +local_domains
53 deny message = relay not permitted
56 accept local_parts = good
60 warn message = X-acl-message-linecount: $message_linecount
69 condition = ${if !eq {SERVER}{server}}
70 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
75 domains = ! +local_domains
76 data = :fail: unrouteable mail domain "$domain"
81 transport = local_delivery
82 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
85 # ----- Transports -----
93 file = DIR/test-mail/$local_part
94 create_file = DIR/test-mail
95 headers_add = "X-body-linecount: $body_linecount\n\
96 X-message-linecount: $message_linecount\n\
97 X-received-count: $received_count"
104 hosts_try_fastopen = :
113 hosts_try_fastopen = :
119 dkim_domain = test.ex
121 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
122 .ifndef HEADERS_MAXSIZE
123 dkim_sign_headers = LIST