Testsuite: Use explicit interface for send to localhost
[users/jgh/exim.git] / test / confs / 0210
1 # Exim test configuration 0210
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 domainlist local_domains = test.ex
14
15 qualify_domain = test.ex
16
17
18
19 # ----- Routers -----
20
21 begin routers
22
23 file:
24   driver = accept
25   local_parts = file
26   retry_use_local_part
27   transport = bsmtp_local_delivery
28
29 pipe:
30   driver = accept
31   local_parts = pipe
32   retry_use_local_part
33   transport = bsmtp_pipe_delivery
34
35 smtp:
36   driver = accept
37   local_parts = smtp
38   retry_use_local_part
39   transport = bsmtp_smtp
40
41
42 # ----- Transports -----
43
44 begin transports
45
46 bsmtp_local_delivery:
47   driver = appendfile
48   use_bsmtp
49   message_prefix = "HELO x.y.z\n"
50   delivery_date_add
51   envelope_to_add
52   file = DIR/test-mail/$local_part
53   return_path_add
54   user = CALLER
55
56 bsmtp_pipe_delivery:
57   driver = pipe
58   use_bsmtp
59   command = /bin/sh -c 'cat >DIR/test-mail/pipe'
60   delivery_date_add
61   envelope_to_add
62   return_path_add
63   user = CALLER
64
65 bsmtp_smtp:
66   driver = smtp
67   allow_localhost
68   hosts = 127.0.0.1
69   port = PORT_S
70   interface = 127.0.0.1
71
72
73 # ----- Retry -----
74
75
76 # End