PAM: fix crash in the pam expansion condition. Bug 2489
[exim.git] / test / confs / 1003
CommitLineData
a769a501 1# Exim test configuration 1003
afda344b
PH
2
3SERVER =
4
d4dc049f
JH
5.include DIR/aux-var/std_conf_prefix
6
afda344b 7primary_hostname = myhost.test.ex
afda344b
PH
8
9# ----- Main settings -----
10
11acl_smtp_rcpt = accept
12
13queue_only
14queue_run_in_order
15
16
17# ----- Routers -----
18
19begin routers
20
21client:
22 driver = accept
23 condition = ${if eq {SERVER}{server}{no}{yes}}
f3ebb786
JH
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}}}}}}}}
afda344b
PH
29
30server:
31 driver = accept
32 transport = local_delivery
33
34
35# ----- Transports -----
36
37begin transports
38
39local_delivery:
40 driver = appendfile
41 file = DIR/test-mail/$local_part
42 user = CALLER
43
f3ebb786
JH
44send_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
51send_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
58send_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
65send_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
72send_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
afda344b
PH
79send_to_server:
80 driver = smtp
81 allow_localhost
f3ebb786 82 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
afda344b
PH
83 port = PORT_D
84 interface = ${expand:$h_interface:}
85
86
87# ----- Retry -----
88
89begin retry
90
91* * F,5d,10s
92
93# End