On Mon, 19 Jun 2006, Justin Mason wrote: > Yep -- that's the key point -- as far as I know it's illegal (in > SMTP terms) to offer a 421 after DATA. > > --j.
RFC-2821 section 3.9: An SMTP server MUST NOT intentionally close the connection except: - After receiving a QUIT command and responding with a 221 reply. - After detecting the need to shut down the SMTP service and returning a 421 response code. This response code can be issued after the server receives any command or, if necessary, asynchronously from command receipt (on the assumption that the client will receive it after the next command is issued). So anytime is 421 time. ;) also a 451 is explicitly listed as an acceptable error response to a DATA. -- Dave Funk University of Iowa <dbfunk (at) engineering.uiowa.edu> College of Engineering 319/335-5751 FAX: 319/384-0549 1256 Seamans Center Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527 #include <std_disclaimer.h> Better is not better, 'standard' is better. B{