Testsuite: Use explicit interface for send to localhost
[exim.git] / test / confs / 0426
1 # Exim test configuration 0426
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 primary_hostname = mail.test.ex
14 qualify_domain = test.ex
15
16 # ----- Routers -----
17
18 begin routers
19
20 r0:
21   driver = redirect
22   senders = :
23   data = :blackhole:
24
25 r1:
26   driver = dnslookup
27   self = send
28   transport = t1
29
30 # ----- Transports -----
31
32 begin transports
33
34 t1:
35   driver = smtp
36   port = PORT_S
37   interface = ${if eq {$host}{127.0.0.1} {127.0.0.1}}
38
39
40 # End