1 # Exim test configuration 0231
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
10 gecos_name = CALLER_NAME
13 # ----- Main settings -----
15 domainlist local_domains = test.ex : *.test.ex
17 acl_smtp_rcpt = check_recipient
26 accept domains = +local_domains
27 deny message = relay not permitted
36 domains = ! +local_domains
37 route_list = * 127.0.0.1 byname
39 transport = smtp_rewrite
46 transport = local_delivery_rewrite
51 transport = local_delivery
54 # ----- Transports -----
58 local_delivery_rewrite:
60 file = DIR/test-mail/$local_part
61 headers_rewrite = a@test.ex a-rewrite@test.ex
66 file = DIR/test-mail/$local_part
71 headers_rewrite = *@domain1 $1-rewrite@domain2 f :\
72 *@domain1 $1-other@domain2