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