Testsuite: add testcase for <>-mismatch in To:/From: headers
[users/jgh/exim.git] / test / scripts / 1000-Basic-ipv6 / 1001
1 # recognizing IPv6 address in HELO/EHLO
2 need_ipv6
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 HOSTIPV6 PORT_D
9 ??? 220
10 ehlo [HOSTIPV6]
11 ??? 250-
12 ??? 250-
13 ??? 250-
14 ??? 250-
15 ??? 250
16 mail from:<>
17 ??? 250
18 rcpt to:<userx@test.ex>
19 ??? 250
20 data
21 ??? 354
22 To: userx@test.ex
23
24 EHLO [HOSTIPV6]
25 .
26 ??? 250
27 ehlo [IPV6:HOSTIPV6]
28 ??? 250-
29 ??? 250-
30 ??? 250-
31 ??? 250-
32 ??? 250
33 mail from:<>
34 ??? 250
35 rcpt to:<userx@test.ex>
36 ??? 250
37 data
38 ??? 354
39 To: userx@test.ex
40
41 EHLO [IPV6:HOSTIPV6]
42 .
43 ??? 250
44 ehlo [IPV6:V6NET:0:12:1:a00:20ff:fe86:a062]
45 ??? 250-
46 ??? 250-
47 ??? 250-
48 ??? 250-
49 ??? 250
50 mail from:<>
51 ??? 250
52 rcpt to:<userx@test.ex>
53 ??? 250
54 data
55 ??? 354
56 To: userx@test.ex
57
58 EHLO [IPV6:V6NET:0:12:1:a00:20ff:fe86:a062]
59 .
60 ??? 250
61 ehlo HOSTIPV6
62 ??? 501
63 quit
64 ??? 221
65 ****
66 killdaemon
67 # Wait for delivery process
68 millisleep 500
69 exim -q
70 ****