1 # Exim test configuration 0231
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
10 gecos_name = CALLER_NAME
12 # ----- Main settings -----
14 domainlist local_domains = test.ex : *.test.ex
16 acl_smtp_rcpt = check_recipient
25 accept domains = +local_domains
26 deny message = relay not permitted
35 domains = ! +local_domains
36 route_list = * 127.0.0.1 byname
38 transport = smtp_rewrite
45 transport = local_delivery_rewrite
50 transport = local_delivery
53 # ----- Transports -----
57 local_delivery_rewrite:
59 file = DIR/test-mail/$local_part
60 headers_rewrite = a@test.ex a-rewrite@test.ex
65 file = DIR/test-mail/$local_part
70 headers_rewrite = *@domain1 $1-rewrite@domain2 f :\
71 *@domain1 $1-other@domain2