Testsuite: Use explicit interface for send to localhost
[exim.git] / test / confs / 0550
1 # Exim test configuration 0550
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
15 # ----- Routers -----
16
17 begin routers
18
19 r1:
20   driver = accept
21   transport = t1
22
23
24 # ----- Transports -----
25
26 begin transports
27
28 t1:
29   driver = smtp
30   hosts = 127.0.0.1 : HOSTIPV4
31   port = PORT_S
32   interface = ${if eq {$host}{127.0.0.1} {127.0.0.1}}
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
41 begin retry
42
43 * * F,1d,1d
44
45 # End