1 # Exim test configuration 0231
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
9 gecos_name = CALLER_NAME
11 # ----- Main settings -----
13 domainlist local_domains = test.ex : *.test.ex
15 acl_smtp_rcpt = check_recipient
24 accept domains = +local_domains
25 deny message = relay not permitted
34 domains = ! +local_domains
35 route_list = * 127.0.0.1 byname
37 transport = smtp_rewrite
44 transport = local_delivery_rewrite
49 transport = local_delivery
52 # ----- Transports -----
56 local_delivery_rewrite:
58 file = DIR/test-mail/$local_part
59 headers_rewrite = a@test.ex a-rewrite@test.ex
64 file = DIR/test-mail/$local_part
69 headers_rewrite = *@domain1 $1-rewrite@domain2 f :\
70 *@domain1 $1-other@domain2