OpenSSL: fix build on earlier library versions
[users/jgh/exim.git] / test / confs / 1003
1 # Exim test configuration 1003
2
3 SERVER =
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = accept
12
13 queue_only
14 queue_run_in_order
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 client:
22   driver = accept
23   condition = ${if eq {SERVER}{server}{no}{yes}}
24   address_data = ${substr_1_1:$domain}
25   transport = send_to_server${if eq {1}{$address_data} {1} \
26                                 {${if eq {2}{$address_data} {2} \
27                                 {${if eq {3}{$address_data} {3} \
28                                 {${if eq {4}{$address_data} {4}{5}}}}}}}}
29
30 server:
31   driver = accept
32   transport = local_delivery
33
34
35 # ----- Transports -----
36
37 begin transports
38
39 local_delivery:
40   driver = appendfile
41   file = DIR/test-mail/$local_part
42   user = CALLER
43
44 send_to_server1:
45   driver = smtp
46   allow_localhost
47   hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
48   port = PORT_D
49   interface = <; ::1 ; HOSTIPV4
50
51 send_to_server2:
52   driver = smtp
53   allow_localhost
54   hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
55   port = PORT_D
56   interface = <; HOSTIPV6 ; HOSTIPV4
57
58 send_to_server3:
59   driver = smtp
60   allow_localhost
61   hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
62   port = PORT_D
63   interface = <; ${if eq{0}{1}{HOSTIPV6}fail}
64
65 send_to_server4:
66   driver = smtp
67   allow_localhost
68   hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
69   port = PORT_D
70   interface = <; ${if eq{0}{1}{HOSTIPV6}{  }}
71
72 send_to_server5:
73   driver = smtp
74   allow_localhost
75   hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
76   port = PORT_D
77   interface = <; ${if 
78
79 send_to_server:
80   driver = smtp
81   allow_localhost
82   hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
83   port = PORT_D
84   interface = ${expand:$h_interface:}
85
86
87 # ----- Retry -----
88
89 begin retry
90
91 * * F,5d,10s
92
93 # End