Testsuite: Use explicit interface for send to localhost
[exim.git] / test / confs / 0518
1 # Exim test configuration 0518
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 acl_smtp_rcpt = check_rcpt
15
16 queue_only
17
18
19 # ----- ACLs -----
20
21 begin acl
22
23 check_rcpt:
24   accept  verify = recipient/callout
25
26
27 # ----- Routers -----
28
29 begin routers
30
31 r1:
32   driver = accept
33   local_part_prefix = *+
34   local_part_suffix = -*
35   local_part_prefix_optional
36   local_part_suffix_optional
37   transport = ${if eq {$domain}{include}{t1}{t2}}
38
39
40 # ----- Transports -----
41
42 begin transports
43
44 t1:
45   driver = smtp
46   hosts = 127.0.0.1
47   port = PORT_S
48   interface = 127.0.0.1
49   allow_localhost
50   rcpt_include_affixes
51
52 t2:
53   driver = smtp
54   hosts = 127.0.0.1
55   port = PORT_S
56   interface = 127.0.0.1
57   allow_localhost
58
59 # End