1 # Exim test configuration 0231
3 .include DIR/aux-var/std_conf_prefix
5 primary_hostname = myhost.test.ex
7 # ----- Main settings -----
9 domainlist local_domains = test.ex : *.test.ex
11 acl_smtp_rcpt = check_recipient
20 accept domains = +local_domains
21 deny message = relay not permitted
30 domains = ! +local_domains
31 route_list = * 127.0.0.1 byname
33 transport = smtp_rewrite
40 transport = local_delivery_rewrite
45 transport = local_delivery
48 # ----- Transports -----
52 local_delivery_rewrite:
54 file = DIR/test-mail/$local_part
55 headers_rewrite = a@test.ex a-rewrite@test.ex
60 file = DIR/test-mail/$local_part
65 headers_rewrite = *@domain1 $1-rewrite@domain2 f :\
66 *@domain1 $1-other@domain2
68 hosts_try_fastopen = :