Testsuite: Use explicit interface for send to localhost
[users/jgh/exim.git] / test / confs / 0431
1 # Exim test configuration 0431
2
3 AFFIX=
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 # This isn't relevant - it's just here to test that -odi
17 # can override it.
18
19 queue_only
20
21
22 # ----- Routers -----
23
24 begin routers
25
26 r1:
27   driver = accept
28   local_part_prefix = *-
29   transport = t1
30
31 r2:
32   driver = accept
33   local_part_suffix = +*
34   transport = t1
35
36 r3:
37   driver = accept
38   local_part_prefix = *.
39   transport = t2
40
41
42 # ----- Transports -----
43
44 begin transports
45
46 t1:
47   driver = smtp
48   hosts = 127.0.0.1
49   port = PORT_S
50   interface = 127.0.0.1
51   allow_localhost
52   AFFIX
53
54 t2:
55   driver = appendfile
56   file = DIR/test-mail/$local_part
57   user = CALLER
58   use_bsmtp
59   AFFIX
60
61
62 # End