Testsuite: Use explicit interface for send to localhost
[exim.git] / test / confs / 0461
1 # Exim test configuration 0461
2
3 FALLBACK=fallback_hosts = 127.0.0.1
4 ROUTE_DATA=V4NET.0.0.1
5 RETRY1=1s
6 RETRY2=2s
7
8 exim_path = EXIM_PATH
9 host_lookup_order = bydns
10 primary_hostname = myhost.test.ex
11 rfc1413_query_timeout = 0s
12 spool_directory = DIR/spool
13 log_file_path = DIR/spool/log/%slog
14 gecos_pattern = ""
15 gecos_name = CALLER_NAME
16
17
18 # ----- Main settings -----
19
20 qualify_domain = test.ex
21
22
23 # ----- Routers -----
24
25 begin routers
26
27 r0:
28 driver = accept
29 senders = :
30 transport = t2
31
32 r1:
33 driver = manualroute
34 route_data = ROUTE_DATA
35 transport = t1
36 FALLBACK
37
38 # ----- Transports -----
39
40 begin transports
41
42 t1:
43 driver = smtp
44 port = PORT_S
45 interface = ${if eq {$host}{127.0.0.1} {127.0.0.1}}
46 connect_timeout = 1s
47 allow_localhost
48
49 t2:
50 driver = appendfile
51 file = DIR/test-mail/$local_part
52 user = CALLER
53
54
55 # ----- Retry -----
56
57 begin retry
58
59 V4NET.0.0.1 * F,1s,RETRY1
60 V4NET.0.0.2 * F,1s,RETRY2
61 * * F,1d,1s
62
63
64 # End