Testsuite: Use explicit interface for send to localhost
[exim.git] / test / confs / 0478
1 # Exim test configuration 0478
2
3 SERVER=
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 rfc1413_query_timeout = 0s
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = accept
16 deliver_drop_privilege
17
18
19 # ----- Routers -----
20
21 begin routers
22
23 r1:
24   driver = accept
25   transport = t1
26
27
28 # ----- Transports -----
29
30 begin transports
31
32 t1:
33   driver = smtp
34   hosts = ${if eq {$sender_host_address}{}{$local_part}{V4NET.0.0.2}}
35   port = PORT_D
36   interface = ${if eq {$host}{127.0.0.1} {127.0.0.1}}
37   allow_localhost
38   connect_timeout = 1s
39
40
41 # ----- Retry -----
42
43 begin retry
44
45 * *  F,1d,2h
46
47
48 # End