Fix expansions for RFC 822 addresses having comments in local-part and/or domain...
[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 ??? 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 [HOSTIPV4]
25 .
26 ??? 250
27 ehlo [IPV4:HOSTIPV4]
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 [IPV4:HOSTIPV4]
42 .
43 ??? 250
44 ehlo HOSTIPV4
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 HOSTIPV4
59 .
60 ??? 250
61 ehlo [V4NET.1.2.3]
62 ??? 250-
63 ??? 250-
64 ??? 250-
65 ??? 250-
66 ??? 250
67 mail from:<>
68 ??? 250
69 rcpt to:<userx@test.ex>
70 ??? 250
71 data
72 ??? 354
73 To: userx@test.ex
74
75 EHLO [V4NET.1.2.3]
76 .
77 ??? 250
78 quit
79 ??? 221
80 ****
81 killdaemon
82 # Wait for delivery process
83 millisleep 500
84 exim -q
85 ****