Testsuite: Use explicit interface for send to localhost
[users/jgh/exim.git] / test / confs / 0492
1 # Exim test configuration 0492
2
3 exim_path = EXIM_PATH
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
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 log_selector = +return_path_on_delivery
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 bh:
22   driver = redirect
23   local_parts = blackhole
24   data = /dev/null
25   file_transport = t2
26
27 r1:
28   driver = accept
29   transport = t1
30   errors_to = ${if eq{$local_part}{a}{a@aa}{b@aa}}
31
32
33 # ----- Transports -----
34
35 begin transports
36
37 t1:
38   driver = smtp
39   hosts = 127.0.0.1
40   allow_localhost
41
42 t2:
43   driver = appendfile
44
45
46 # End