1 # Exim test configuration 0375
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
15 log_selector = +return_path_on_delivery
16 remote_max_parallel = 1
60 address_data = $sender_address
68 address_data = $bad expansion
78 errors_to = ${if eq{0}{1}{x@y}fail}
86 # ----- Transports -----
90 # Successful local transport
93 file = DIR/test-mail/$local_part-u
99 # Hard unsuccessful local transport
103 command = /non/existent/file
107 # Soft unsuccessful local transport
111 command = /non/existent/file
116 # Remote transport - all types
122 interface = 127.0.0.1
127 # Another remote transport with return_path set empty
133 interface = 127.0.0.1
139 # Another remote transport with return_path reinstating original
145 interface = 127.0.0.1
149 return_path = $address_data
154 file = DIR/test-mail/$local_part