Testsuite: avoid assuming 127.0.0.2 is a viable sending address
[users/heiko/exim.git] / test / confs / 0374
1 # Exim test configuration 0374
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex : *.test.ex
15 remote_max_parallel = 1
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 u1:
23   driver = accept
24   local_parts = ^a\\d
25   transport = ut1
26   unseen
27
28 ut2:
29   driver = accept
30   local_parts = ^b\\d
31   transport = ut2
32   unseen
33
34 ut3:
35   driver = accept
36   local_parts = ^c\\d
37   transport = ut3
38   unseen
39
40 ut4:
41   driver = accept
42   local_parts = ^d\\d
43   transport = ut4
44   unseen
45
46 real:
47   driver = accept
48   transport = real
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 # Successful local transport
56 ut1:
57   driver = appendfile
58   file = DIR/test-mail/$local_part-u
59   user = CALLER
60   return_path_add
61   envelope_to_add
62
63 # Hard unsuccessful local transport
64
65 ut2:
66   driver = pipe
67   command = /non/existent/file
68   user = CALLER
69
70 # Soft unsuccessful local transport
71
72 ut3:
73   driver = pipe
74   command = /non/existent/file
75   temp_errors = *
76   user = CALLER
77
78 # Remote transport - all types
79
80 ut4:
81   driver = smtp
82   hosts = 127.0.0.1
83   port = PORT_S
84   allow_localhost
85   max_rcpt = 1
86
87 # Real delivery
88 real:
89   driver = appendfile
90   file = DIR/test-mail/$local_part
91   user = CALLER
92   return_path_add
93   envelope_to_add
94
95
96 # ----- Retry -----
97
98
99 begin retry
100
101 * * F,5d,1d
102
103
104 # End