Check that $multikill_cmd exists before running it, in case
[users/heiko/exim.git] / test / scripts / 0000-Basic / 0159
1 # recognizing IPv4 address in HELO/EHLO
2 need_ipv4
3 #
4 # Incoming messages will be queued; deliver by queue run at the end.
5 #
6 exim -DSERVER=server -bd -oX PORT_D
7 ****
8 client HOSTIPV4 PORT_D
9 ??? 220
10 ehlo [HOSTIPV4]
11 ??? 250-
12 ??? 250-
13 ??? 250-
14 ??? 250
15 mail from:<>
16 ??? 250
17 rcpt to:<userx@test.ex>
18 ??? 250
19 data
20 ??? 354
21 To: userx@test.ex
22
23 EHLO [HOSTIPV4]
24 .
25 ??? 250
26 ehlo [IPV4:HOSTIPV4]
27 ??? 250-
28 ??? 250-
29 ??? 250-
30 ??? 250
31 mail from:<>
32 ??? 250
33 rcpt to:<userx@test.ex>
34 ??? 250
35 data
36 ??? 354
37 To: userx@test.ex
38
39 EHLO [IPV4:HOSTIPV4]
40 .
41 ??? 250
42 ehlo HOSTIPV4
43 ??? 250-
44 ??? 250-
45 ??? 250-
46 ??? 250
47 mail from:<>
48 ??? 250
49 rcpt to:<userx@test.ex>
50 ??? 250
51 data
52 ??? 354
53 To: userx@test.ex
54
55 EHLO HOSTIPV4
56 .
57 ??? 250
58 ehlo [V4NET.1.2.3]
59 ??? 250-
60 ??? 250-
61 ??? 250-
62 ??? 250
63 mail from:<>
64 ??? 250
65 rcpt to:<userx@test.ex>
66 ??? 250
67 data
68 ??? 354
69 To: userx@test.ex
70
71 EHLO [V4NET.1.2.3]
72 .
73 ??? 250
74 quit
75 ??? 221
76 ****
77 killdaemon
78 # Wait for delivery process
79 millisleep 500
80 exim -q
81 ****