Testsuite: Use explicit interface for send to localhost
[exim.git] / test / confs / 0388
1 # Exim test configuration 0388
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 r0:
20   driver = redirect
21   senders = :
22   local_parts = CALLER
23   data = :blackhole:
24
25 r1:
26   driver = manualroute
27   route_list = * "127.0.0.1 : V4NET.0.0.0"
28   transport = smtp
29   self = send
30
31 # ----- Transports -----
32
33 begin transports
34
35 smtp:
36   driver = smtp
37   hosts_max_try = 1
38   port = PORT_S
39   interface = ${if eq {$host}{127.0.0.1} {127.0.0.1}}
40   connect_timeout = 2s
41   address_retry_include_sender = false
42
43 # ----- Retry -----
44
45 begin retry
46
47 * * F,1s,1s
48
49 # End