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