1 # Exim test configuration 4620
3 .include DIR/aux-var/std_conf_prefix
7 # ----- Main settings -----
11 domainlist local_domains = test.ex
12 domainlist remotesite_domains = remote.ex
14 log_selector = +all_parents +received_recipients
23 condition = ${if eq {$sender_host_address}{127.0.0.1}}
24 data = :fail: account disabled
29 domains = !+local_domains
30 route_list = remote.ex 127.0.0.1::PORT_S
32 transport = ${if eq {$local_part@$domain} {$original_local_part@$original_domain} \
33 {to_external} {forwarded_external}}
38 domains = +local_domains
39 # detect inbound bounces which are SRS'd, and decode them
40 condition = ${if inbound_srs {$local_part} {SRS_SECRET}}
46 domains = +local_domains
47 # detect inbound bounces which look SRS'd but are invalid
48 condition = ${if inbound_srs {$local_part} {}}
50 data = :fail: Invalid SRS recipient address
55 local_parts = redirect
56 data = remote_user@remote.ex
60 transport = appendfile
63 # ----- Transports -----
73 return_path = ${srs_encode {SRS_SECRET} {$return_path} {$original_domain}}
78 file = DIR/test-mail/${bless:$local_part}