Use compressed form of ipv6 in $sender_host_address under -bh. Bug 3027
[exim.git] / test / confs / 0478
1 # Exim test configuration 0478
2
3 SERVER=
4
5 .include DIR/aux-var/std_conf_prefix
6
7
8 # ----- Main settings -----
9
10 acl_smtp_rcpt = accept
11 deliver_drop_privilege
12
13
14 # ----- Routers -----
15
16 begin routers
17
18 r1:
19   driver = accept
20   transport = t1
21
22
23 # ----- Transports -----
24
25 begin transports
26
27 t1:
28   driver = smtp
29   port = PORT_D
30   hosts_try_fastopen = :
31   hosts = ${if !eq {$sender_host_address}{} {V4NET.0.0.2} \
32                 {${if eq {127.0.0.1}{$local_part} {127.0.0.1} \
33                 {${if eq {V4NET.0.0.1}{$local_part} {V4NET.0.0.1}}}}}}
34   allow_localhost
35   connect_timeout = 1s
36
37
38 # ----- Retry -----
39
40 begin retry
41
42 * *  F,1d,2h
43
44
45 # End