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