blob: 41c916c0ec88f60ec7b614d19809b8ea37e7e641 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
### (1) non-prox plain receive (not advertised) (2) XCLIENT refules when not advertised
Connecting to 127.0.0.1 port 1225 ... connected
??? 220
<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
>>> EHLO plainclient
??? 250-
<<< 250-myhost.test.ex Hello plainclient [IP_LOOPBACK_ADDR]
??? 250-SIZE
<<< 250-SIZE 52428800
??? 250-8BITMIME
<<< 250-8BITMIME
??? 250-PIPELINING
<<< 250-PIPELINING
??? 250 HELP
<<< 250 HELP
>>> MAIL FROM:<a@test.ex>
??? 250
<<< 250 OK
>>> RCPT TO:<b@test.ex>
??? 250
<<< 250 Accepted
>>> DATA
??? 354
<<< 354 Enter message, ending with "." on a line by itself
>>> Subject: test
>>>
>>> body
>>> .
??? 250
<<< 250 OK id=10HmaX-0005vi-00
>>> XCLIENT NAME=proxylookedupname.net ADDR=127.0.0.2 PORT=4242
??? 550
<<< 550 XCLIENT command used when not advertised
>>> QUIT
??? 221
<<< 221 myhost.test.ex closing connection
End of script
### receive, (1) fully loaded (2) new conn (3) bad: transaction in progress (4) bad: missing EHLO after XCLIENT
Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
??? 220
<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
>>> EHLO xclientproxy
??? 250-
<<< 250-myhost.test.ex Hello xclientproxy [ip4.ip4.ip4.ip4]
??? 250-SIZE
<<< 250-SIZE 52428800
??? 250-8BITMIME
<<< 250-8BITMIME
??? 250-PIPELINING
<<< 250-PIPELINING
??? 250-XCLIENT
<<< 250-XCLIENT ADDR NAME PORT LOGIN DESTADDR DESTPORT
??? 250 HELP
<<< 250 HELP
>>> XCLIENT NAME=proxylookedupname.net ADDR=127.0.0.2 PORT=4242 DESTADDR=10.42.42.42 DESTPORT=25 LOGIN=hisloginname
??? 220
<<< 220 XCLIENT success
>>> EHLO clienthelo
??? 250-
<<< 250-myhost.test.ex Hello proxylookedupname.net [127.0.0.2]
??? 250-SIZE
<<< 250-SIZE 52428800
??? 250-8BITMIME
<<< 250-8BITMIME
??? 250-PIPELINING
<<< 250-PIPELINING
??? 250-XCLIENT
<<< 250-XCLIENT ADDR NAME PORT LOGIN DESTADDR DESTPORT
??? 250 HELP
<<< 250 HELP
>>> MAIL FROM:<c@test.ex>
??? 250
<<< 250 OK
>>> RCPT TO:<d@test.ex>
??? 250
<<< 250 Accepted
>>> DATA
??? 354
<<< 354 Enter message, ending with "." on a line by itself
>>> Subject: test
>>>
>>> body
>>> .
??? 250
<<< 250 OK id=10HmaY-0005vi-00
>>> XCLIENT NAME=[TEMPUNAVAIL] ADDR=127.0.0.3 PORT=4243 LOGIN=[UNAVAILABLE]
??? 220
<<< 220 XCLIENT success
>>> EHLO anotherhelo
??? 250-
<<< 250-myhost.test.ex Hello anotherhelo [127.0.0.3]
??? 250-SIZE
<<< 250-SIZE 52428800
??? 250-8BITMIME
<<< 250-8BITMIME
??? 250-PIPELINING
<<< 250-PIPELINING
??? 250-XCLIENT
<<< 250-XCLIENT ADDR NAME PORT LOGIN DESTADDR DESTPORT
??? 250 HELP
<<< 250 HELP
>>> MAIL FROM:<c2@test.ex>
??? 250
<<< 250 OK
>>> RCPT TO:<d2@test.ex>
??? 250
<<< 250 Accepted
>>> DATA
??? 354
<<< 354 Enter message, ending with "." on a line by itself
>>> Subject: test
>>>
>>> body
>>> .
??? 250
<<< 250 OK id=10HmaZ-0005vi-00
>>> MAIL FROM:<c2@test.ex>
??? 250
<<< 250 OK
>>> XCLIENT NAME=bad.time.for.xclient
??? 503
<<< 503 mail transaction in progress
>>> RSET
??? 250
<<< 250 Reset OK
>>> XCLIENT NAME=miss.ehlo.after.xclient
??? 220
<<< 220 XCLIENT success
>>> MAIL FROM:<bad@test.ex>
??? 503
<<< 503 HELO or EHLO required
>>> QUIT
??? 221
<<< 221 myhost.test.ex closing connection
End of script
### (5) no operands to XCLIENT (6,7) unrecognised operands
Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
??? 220
<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
>>> EHLO xclientproxy
??? 250-
<<< 250-myhost.test.ex Hello xclientproxy [ip4.ip4.ip4.ip4]
??? 250-SIZE
<<< 250-SIZE 52428800
??? 250-8BITMIME
<<< 250-8BITMIME
??? 250-PIPELINING
<<< 250-PIPELINING
??? 250-XCLIENT
<<< 250-XCLIENT ADDR NAME PORT LOGIN DESTADDR DESTPORT
??? 250 HELP
<<< 250 HELP
>>> XCLIENT
??? 501
<<< 501 XCLIENT must have at least one operand
>>> XCLIENT NONO=
??? 501
<<< 501 XCLIENT: unrecognised parameter 'NONO'
>>> XCLIENT NAMEfoobar=
??? 501
<<< 501 XCLIENT: unrecognised parameter 'NAMEfoobar'
>>> XCLIENT SIXSIX=
??? 501-
<<< 501-XCLIENT: unrecognised parameter 'SIXSIX'
??? 501 Too many
<<< 501 Too many syntax or protocol errors
???*
Expected EOF read
End of script
### (7) operand with zero-len value (8) operand with no value
Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
??? 220
<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
>>> EHLO xclientproxy
??? 250-
<<< 250-myhost.test.ex Hello xclientproxy [ip4.ip4.ip4.ip4]
??? 250-SIZE
<<< 250-SIZE 52428800
??? 250-8BITMIME
<<< 250-8BITMIME
??? 250-PIPELINING
<<< 250-PIPELINING
??? 250-XCLIENT
<<< 250-XCLIENT ADDR NAME PORT LOGIN DESTADDR DESTPORT
??? 250 HELP
<<< 250 HELP
>>> XCLIENT NAME=
??? 501
<<< 501 XCLIENT: zero-length value for param
>>> XCLIENT NAME
??? 501
<<< 501 XCLIENT: missing value for parameter 'NAME'
End of script
******** SERVER ********
### (1) non-prox plain receive (not advertised) (2) XCLIENT refules when not advertised
### receive, (1) fully loaded (2) new conn (3) bad: transaction in progress (4) bad: missing EHLO after XCLIENT
### (5) no operands to XCLIENT (6,7) unrecognised operands
### (7) operand with zero-len value (8) operand with no value
|