1 /* Frame (239 bytes) */
2 char response_220_greetings_pkt[185] = {
3 0x32, 0x32, /* ...v..22 */
4 0x30, 0x2d, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, /* 0-expres */
5 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x63, /* slogic.c */
6 0x6f, 0x6d, 0x20, 0x45, 0x53, 0x4d, 0x54, 0x50, /* om ESMTP */
7 0x20, 0x4d, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, /*  MDaemon */
8 0x20, 0x31, 0x33, 0x2e, 0x30, 0x2e, 0x33, 0x3b, /*  13.0.3; */
9 0x20, 0x53, 0x61, 0x74, 0x2c, 0x20, 0x32, 0x33, /*  Sat, 23 */
10 0x20, 0x4d, 0x61, 0x72, 0x20, 0x32, 0x30, 0x31, /*  Mar 201 */
11 0x33, 0x20, 0x32, 0x32, 0x3a, 0x35, 0x38, 0x3a, /* 3 22:58: */
12 0x31, 0x35, 0x20, 0x2d, 0x30, 0x37, 0x30, 0x30, /* 15 -0700 */
13 0x0d, 0x0a, 0x32, 0x32, 0x30, 0x2d, 0x41, 0x6c, /* ..220-Al */
14 0x6c, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, /* l transa */
15 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x61, /* ctions a */
16 0x6e, 0x64, 0x20, 0x49, 0x50, 0x20, 0x61, 0x64, /* nd IP ad */
17 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x20, /* dresses  */
18 0x61, 0x72, 0x65, 0x20, 0x6c, 0x6f, 0x67, 0x67, /* are logg */
19 0x65, 0x64, 0x2e, 0x0d, 0x0a, 0x32, 0x32, 0x30, /* ed...220 */
20 0x2d, 0x2a, 0x0d, 0x0a, 0x32, 0x32, 0x30, 0x20, /* -*..220  */
21 0x55, 0x6e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, /* Unauthor */
22 0x69, 0x7a, 0x65, 0x64, 0x20, 0x72, 0x65, 0x6c, /* ized rel */
23 0x61, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x73, /* aying is */
24 0x20, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x6c, /*  strictl */
25 0x79, 0x20, 0x70, 0x72, 0x6f, 0x68, 0x69, 0x62, /* y prohib */
26 0x69, 0x74, 0x65, 0x64, 0x2e, 0x0d, 0x0a        /* ited... */
27 };
28 
29 int response_220_greetings_size = 185;
30 
31 /* Frame (80 bytes) */
32 char response_221_bye_pkt[80] = {
33 0x32, 0x32, /* .%^...22 */
34 0x31, 0x20, 0x53, 0x65, 0x65, 0x20, 0x79, 0x61, /* 1 See ya */
35 0x20, 0x69, 0x6e, 0x20, 0x63, 0x79, 0x62, 0x65, /*  in cybe */
36 0x72, 0x73, 0x70, 0x61, 0x63, 0x65, 0x0d, 0x0a  /* rspace.. */
37 };
38 
39 int response_221_bye_size = 80;
40 
41 /* Frame (85 bytes with all headers) */
42 char response_235_auth_passed_pkt[31] = {
43 
44 0x32, 0x33,                                     /* .p.K..23 */
45 0x35, 0x20, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, /* 5 Authen */
46 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, /* tication */
47 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, /*  success */
48 0x66, 0x75, 0x6c, 0x0d, 0x0a                    /* ful.. */
49 };
50 
51 int response_235_auth_passed_size = 31;
52 
53 /* Frame (199 bytes with ETH, IP and TCP headers) */
54 char response_250_ehlo_first_pkt[145] = {
55 
56 0x32, 0x35,                                     /* .25 */
57 0x30, 0x2d, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, /* 0-expres */
58 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x63, /* slogic.c */
59 0x6f, 0x6d, 0x20, 0x48, 0x65, 0x6c, 0x6c, 0x6f, /* om Hello */
60 0x20, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x63, /*  testrec */
61 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x40, 0x65, /* ipient@e */
62 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x6c, 0x6f, /* xpresslo */
63 0x67, 0x69, 0x63, 0x2e, 0x63, 0x6f, 0x6d, 0x2c, /* gic.com, */
64 0x20, 0x70, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, /*  pleased */
65 0x20, 0x74, 0x6f, 0x20, 0x6d, 0x65, 0x65, 0x74, /*  to meet */
66 0x20, 0x79, 0x6f, 0x75, 0x0d, 0x0a, 0x32, 0x35, /*  you..25 */
67 0x30, 0x2d, 0x45, 0x54, 0x52, 0x4e, 0x0d, 0x0a, /* 0-ETRN.. */
68 0x32, 0x35, 0x30, 0x2d, 0x41, 0x55, 0x54, 0x48, /* 250-AUTH */
69 0x20, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x20, 0x43, /*  LOGIN C */
70 0x52, 0x41, 0x4d, 0x2d, 0x4d, 0x44, 0x35, 0x20, /* RAM-MD5  */
71 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x0d, 0x0a, 0x32, /* PLAIN..2 */
72 0x35, 0x30, 0x2d, 0x38, 0x42, 0x49, 0x54, 0x4d, /* 50-8BITM */
73 0x49, 0x4d, 0x45, 0x0d, 0x0a, 0x32, 0x35, 0x30, /* IME..250 */
74 0x2D, 0x53, 0x49, 0x5a, 0x45, 0x0d, 0x0a        /*  SIZE.. */
75 };
76 
77 int response_250_ehlo_first_size = 145;
78 
79 /* Frame (199 bytes with ETH, IP and TCP headers) */
80 char response_250_ehlo_last_pkt[10] = {
81 
82 0x32, 0x35, 0x30,                               /* 250 */
83 0x20, 0x53, 0x49, 0x5a, 0x45, 0x0d, 0x0a        /*  [sp]SIZE.. */
84 };
85 
86 int response_250_ehlo_last_size = 10;
87 
88 /************************************************************************/
89 
90 
91 /* Frame (199 bytes with ETH, IP and TCP headers) */
92 char response_250_ehlo_first_no_auth_pkt[145] = {
93 
94 0x32, 0x35,                                     /* .25 */
95 0x30, 0x2d, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, /* 0-expres */
96 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x63, /* slogic.c */
97 0x6f, 0x6d, 0x20, 0x48, 0x65, 0x6c, 0x6c, 0x6f, /* om Hello */
98 0x20, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x63, /*  testrec */
99 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x40, 0x65, /* ipient@e */
100 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x6c, 0x6f, /* xpresslo */
101 0x67, 0x69, 0x63, 0x2e, 0x63, 0x6f, 0x6d, 0x2c, /* gic.com, */
102 0x20, 0x70, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, /*  pleased */
103 0x20, 0x74, 0x6f, 0x20, 0x6d, 0x65, 0x65, 0x74, /*  to meet */
104 0x20, 0x79, 0x6f, 0x75, 0x0d, 0x0a, 0x32, 0x35, /*  you..25 */
105 0x30, 0x2d, 0x45, 0x54, 0x52, 0x4e, 0x0d, 0x0a, /* 0-ETRN.. */
106 0x32, 0x35, 0x30, 0x2d, 0x45, 0x55, 0x54, 0x48, /* 250-DUTH */
107 0x20, 0x4d, 0x4f, 0x47, 0x49, 0x4e, 0x20, 0x43, /*  MOGIN C */
108 0x52, 0x41, 0x4d, 0x2d, 0x4d, 0x44, 0x35, 0x20, /* RAM-MD5  */
109 0x51, 0x4c, 0x41, 0x49, 0x4e, 0x0d, 0x0a, 0x32, /* QLAIN..2 */
110 0x35, 0x30, 0x2d, 0x38, 0x42, 0x49, 0x54, 0x4d, /* 50-8BITM */
111 0x49, 0x4d, 0x45, 0x0d, 0x0a, 0x32, 0x35, 0x30, /* IME..250 */
112 0x2D, 0x53, 0x49, 0x5a, 0x45, 0x0d, 0x0a        /*  SIZE.. */
113 };
114 
115 int response_250_ehlo_first_no_auth_size = 145;
116 
117 
118 /************************************************************************/
119 
120 
121 /* Frame (199 bytes with ETH, IP and TCP headers) */
122 char response_250_ehlo_auth_no_type_pkt[145] = {
123 
124 0x32, 0x35,                                     /* .25 */
125 0x30, 0x2d, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, /* 0-expres */
126 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x63, /* slogic.c */
127 0x6f, 0x6d, 0x20, 0x48, 0x65, 0x6c, 0x6c, 0x6f, /* om Hello */
128 0x20, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x63, /*  testrec */
129 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x40, 0x65, /* ipient@e */
130 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x6c, 0x6f, /* xpresslo */
131 0x67, 0x69, 0x63, 0x2e, 0x63, 0x6f, 0x6d, 0x2c, /* gic.com, */
132 0x20, 0x70, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, /*  pleased */
133 0x20, 0x74, 0x6f, 0x20, 0x6d, 0x65, 0x65, 0x74, /*  to meet */
134 0x20, 0x79, 0x6f, 0x75, 0x0d, 0x0a, 0x32, 0x35, /*  you..25 */
135 0x30, 0x2d, 0x45, 0x54, 0x52, 0x4e, 0x0d, 0x0a, /* 0-ETRN.. */
136 0x32, 0x35, 0x30, 0x2d, 0x41, 0x55, 0x54, 0x48, /* 250-AUTH */
137 0x20, 0x4d, 0x4f, 0x47, 0x49, 0x4e, 0x20, 0x43, /*  MOGIN C */
138 0x52, 0x41, 0x4d, 0x2d, 0x4d, 0x44, 0x35, 0x20, /* RAM-MD5  */
139 0x51, 0x4c, 0x41, 0x49, 0x4e, 0x0d, 0x0a, 0x32, /* QLAIN..2 */
140 0x35, 0x30, 0x2d, 0x38, 0x42, 0x49, 0x54, 0x4d, /* 50-8BITM */
141 0x49, 0x4d, 0x45, 0x0d, 0x0a, 0x32, 0x35, 0x30, /* IME..250 */
142 0x20, 0x53, 0x49, 0x5a, 0x45, 0x0d, 0x0a        /*  SIZE.. */
143 };
144 
145 int response_250_ehlo_auth_no_type_size = 145;
146 
147 /* Frame (199 bytes with ETH, IP and TCP headers) */
148 char response_250_ehlo_last_with_auth_pkt[42] = {
149 
150 0x32, 0x35, 0x30, 0x2d, 0x41, 0x55, 0x54, 0x48, /* 250-AUTH */
151 0x20, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x20, 0x43, /*  LOGIN C */
152 0x52, 0x41, 0x4d, 0x2d, 0x4d, 0x44, 0x35, 0x20, /* RAM-MD5  */
153 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x0d, 0x0a, 0x20, /* PLAIN.. */
154 0x32, 0x35, 0x30, 0x20, 0x53, 0x49, 0x5a, 0x45, /* 250 SIZE */
155 0x0d, 0x0a                                      /*  ..      */
156 };
157 
158 int response_250_ehlo_last_with_auth_size = 42;
159 /************************************************************************/
160 
161 /* Frame (199 bytes with ETH, IP and TCP headers) */
162 char response_250_ehlo_notlast_pkt[10] = {
163 
164 0x32, 0x35, 0x30, /* 250 */
165 0x2d, 0x53, 0x49, 0x5a, 0x45, 0x0d, 0x0a        /*  [sp]SIZE.. */
166 };
167 
168 int response_250_ehlo_notlast_size = 10;
169 
170 /* Frame (199 bytes with ETH, IP and TCP headers) */
171 char response_250_ehlo_pkt[145] = {
172 
173 0x32, 0x35,                                     /* ...L..25 */
174 0x30, 0x2d, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, /* 0-expres */
175 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x63, /* slogic.c */
176 0x6f, 0x6d, 0x20, 0x48, 0x65, 0x6c, 0x6c, 0x6f, /* om Hello */
177 0x20, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x63, /*  testrec */
178 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x40, 0x65, /* ipient@e */
179 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x6c, 0x6f, /* xpresslo */
180 0x67, 0x69, 0x63, 0x2e, 0x63, 0x6f, 0x6d, 0x2c, /* gic.com, */
181 0x20, 0x70, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, /*  pleased */
182 0x20, 0x74, 0x6f, 0x20, 0x6d, 0x65, 0x65, 0x74, /*  to meet */
183 0x20, 0x79, 0x6f, 0x75, 0x0d, 0x0a, 0x32, 0x35, /*  you..25 */
184 0x30, 0x2d, 0x45, 0x54, 0x52, 0x4e, 0x0d, 0x0a, /* 0-ETRN.. */
185 0x32, 0x35, 0x30, 0x2d, 0x41, 0x55, 0x54, 0x48, /* 250-AUTH */
186 0x20, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x20, 0x43, /*  LOGIN C */
187 0x52, 0x41, 0x4d, 0x2d, 0x4d, 0x44, 0x35, 0x20, /* RAM-MD5  */
188 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x0d, 0x0a, 0x32, /* PLAIN..2 */
189 0x35, 0x30, 0x2d, 0x38, 0x42, 0x49, 0x54, 0x4d, /* 50-8BITM */
190 0x49, 0x4d, 0x45, 0x0d, 0x0a, 0x32, 0x35, 0x30, /* IME..250 */
191 0x20, 0x53, 0x49, 0x5a, 0x45, 0x0d, 0x0a        /*  SIZE.. */
192 };
193 
194 int response_250_ehlo_size = 145;
195 
196 /* Frame (199 bytes with ETH, IP and TCP headers) */
197 char response_250_ehlo_noauth_pkt[145] = {
198 
199 0x32, 0x35,                                     /* ...L..25 */
200 0x30, 0x2d, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, /* 0-expres */
201 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x63, /* slogic.c */
202 0x6f, 0x6d, 0x20, 0x48, 0x65, 0x6c, 0x6c, 0x6f, /* om Hello */
203 0x20, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x63, /*  testrec */
204 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x40, 0x65, /* ipient@e */
205 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x6c, 0x6f, /* xpresslo */
206 0x67, 0x69, 0x63, 0x2e, 0x63, 0x6f, 0x6d, 0x2c, /* gic.com, */
207 0x20, 0x70, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, /*  pleased */
208 0x20, 0x74, 0x6f, 0x20, 0x6d, 0x65, 0x65, 0x74, /*  to meet */
209 0x20, 0x79, 0x6f, 0x75, 0x0d, 0x0a, 0x32, 0x35, /*  you..25 */
210 0x30, 0x2d, 0x45, 0x54, 0x52, 0x4e, 0x0d, 0x0a, /* 0-ETRN.. */
211 0x32, 0x35, 0x30, 0x2d, 0x44, 0x55, 0x54, 0x48, /* 250-CUTH */
212 0x20, 0x4E, 0x4f, 0x47, 0x49, 0x4e, 0x20, 0x43, /*  NOGIN C */
213 0x52, 0x41, 0x4d, 0x2d, 0x4d, 0x44, 0x35, 0x20, /* RAM-MD5  */
214 0x52, 0x4c, 0x41, 0x49, 0x4e, 0x0d, 0x0a, 0x32, /* SLAIN..2 */
215 0x35, 0x30, 0x2d, 0x38, 0x42, 0x49, 0x54, 0x4d, /* 50-8BITM */
216 0x49, 0x4d, 0x45, 0x0d, 0x0a, 0x32, 0x35, 0x30, /* IME..250 */
217 0x20, 0x53, 0x49, 0x5a, 0x45, 0x0d, 0x0a        /*  SIZE.. */
218 };
219 
220 int response_250_ehlo_noauth_size = 145;
221 
222 /* Frame (92 bytes) */
223 char response_250_message_saved_pkt[38] = {
224 0x32, 0x35, /* .+....25 */
225 0x30, 0x20, 0x4f, 0x6b, 0x2c, 0x20, 0x6d, 0x65, /* 0 Ok, me */
226 0x73, 0x73, 0x61, 0x67, 0x65, 0x20, 0x73, 0x61, /* ssage sa */
227 0x76, 0x65, 0x64, 0x20, 0x3c, 0x4d, 0x65, 0x73, /* ved <Mes */
228 0x73, 0x61, 0x67, 0x65, 0x2d, 0x49, 0x44, 0x3a, /* sage-ID: */
229 0x20, 0x3e, 0x0d, 0x0a                          /*  >.. */
230 };
231 
232 int response_250_message_saved_size = 38;
233 
234 /* Frame (97 bytes) */
235 char response_250_recipient_ok_pkt[43] = {
236 
237 0x32, 0x35, /* .,.N..25 */
238 0x30, 0x20, 0x3c, 0x72, 0x65, 0x63, 0x69, 0x70, /* 0 <recip */
239 0x69, 0x65, 0x6e, 0x74, 0x39, 0x39, 0x40, 0x67, /* ient99@g */
240 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, /* mail.com */
241 0x3e, 0x2c, 0x20, 0x52, 0x65, 0x63, 0x69, 0x70, /* >, Recip */
242 0x69, 0x65, 0x6e, 0x74, 0x20, 0x6f, 0x6b, 0x0d, /* ient ok. */
243 0x0a                                            /* . */
244 };
245 
246 int response_250_recipient_ok_size = 43;
247 
248 /* Frame (94 bytes all headers) */
249 char response_250_sender_ok_pkt[40] = {
250 0x32, 0x35, /* .ME9..25 */
251 0x30, 0x20, 0x3c, 0x72, 0x65, 0x63, 0x69, 0x70, /* 0 <recip */
252 0x69, 0x65, 0x6e, 0x74, 0x39, 0x39, 0x40, 0x67, /* ient99@g */
253 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, /* mail.com */
254 0x3e, 0x2c, 0x20, 0x53, 0x65, 0x6e, 0x64, 0x65, /* >, Sende */
255 0x72, 0x20, 0x6f, 0x6b, 0x0d, 0x0a              /* r ok.. */
256 };
257 
258 int response_250_sender_ok_size = 40;
259 
260 /* Frame (72 bytes) */
261 char response_334_password_pkt[72] = {
262 0x33, 0x33, /* ......33 */
263 0x34, 0x20, 0x55, 0x47, 0x46, 0x7a, 0x63, 0x33, /* 4 UGFzc3 */
264 0x64, 0x76, 0x63, 0x6d, 0x51, 0x36, 0x0d, 0x0a  /* dvcmQ6.. */
265 };
266 
267 int response_334_password_size = 18;
268 
269 /* Frame (72 bytes) */
270 char response_334_username_pkt[18] = {
271 0x33, 0x33, /* ......33 */
272 0x34, 0x20, 0x56, 0x58, 0x4e, 0x6c, 0x63, 0x6d, /* 4 VXNlcm */
273 0x35, 0x68, 0x62, 0x57, 0x55, 0x36, 0x0d, 0x0a  /* 5hbWU6.. */
274 };
275 
276 int response_334_username_size = 18;
277 
278 /* Frame (94 bytes) */
279 char response_354_enter_mail_pkt[40] = {
280 
281 0x33, 0x35,                                     /* 35 */
282 0x34, 0x20, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x20, /* 4 Enter  */
283 0x6d, 0x61, 0x69, 0x6c, 0x2c, 0x20, 0x65, 0x6e, /* mail, en */
284 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x3c, /* d with < */
285 0x43, 0x52, 0x4c, 0x46, 0x3e, 0x2e, 0x3c, 0x43, /* CRLF>.<C */
286 0x52, 0x4c, 0x46, 0x3e, 0x0d, 0x0a              /* RLF>.. */
287 };
288 
289 int response_354_enter_mail_size = 40;
290 
291 /* Frame (60 bytes with all headers) */
292 char response_334_pkt[6] =
293 {
294 0x33, 0x33, 0x34, 0x20, 0x0d, 0x0a   /* 334 */
295 };
296 
297 
298 int response_334_size = 6;
299 
300