Prev: Smtp bug
Next: GCI Environment Variables with ncgi
From: drscrypt on 18 Jun 2010 15:43 With the smtp package, if the password is incorrect, the error is thrown as follows, with no indication that the password is incorrect: 400: premature end-of-file from server (Note: this has nothing to do with the other bug I am reporting.)
From: Gerald W. Lester on 18 Jun 2010 19:52 drscrypt(a)gmail.com wrote: > With the smtp package, if the password is incorrect, the error is thrown > as follows, with no indication that the password is incorrect: > > 400: premature end-of-file from server > > > > (Note: this has nothing to do with the other bug I am reporting.) > Turn on detailed logging in the SMTP package (I thought we had some in there) and see if the server is just closing the connection or sending a nice error message back that we are ignoring. I'd need to look at the code (and the RFC), it has been years since it has had to be touched (SMTP is not exactly a rapidly evolving protocol) to be more specific. -- +------------------------------------------------------------------------+ | Gerald W. Lester, President, KNG Consulting LLC | | Email: Gerald.Lester(a)kng-consulting.net | +------------------------------------------------------------------------+
From: drscrypt on 21 Jun 2010 11:42 On 6/18/2010 7:52 PM, Gerald W. Lester wrote: > Turn on detailed logging in the SMTP package (I thought we had some in > there) and see if the server is just closing the connection or sending a > nice error message back that we are ignoring. Here's the debug output: Trying xyz.xyz.com... <-- 220 xyz.xyz.com ESMTP --> EHLO xyz (wait upto 300 seconds) <-- 250-xyz.xyz.com <-- 250-AUTH LOGIN PLAIN XYMCOOKIE <-- 250-PIPELINING <-- 250 8BITMIME --> AUTH LOGIN (wait upto 300 seconds) <-- 334 VXNlcm5hbWU6 --> xyz (wait upto 300 seconds) <-- 334 UGFzc3dvcmQ6 --> xyz (wait upto 300 seconds) <-- 530 Access denied AUTH LOGIN failed: diagnostic {Access denied} args {} code 530 --> AUTH PLAIN (wait upto 300 seconds) ... premature end-of-file from server ... AUTH PLAIN failed: diagnostic {premature end-of-file from server} args {} code 400 --> MAIL FROM:<xyz(a)xyz.com> (wait upto 600 seconds) --> RSET (wait upto 0 seconds) --> QUIT (wait upto 0 seconds)
|
Pages: 1 Prev: Smtp bug Next: GCI Environment Variables with ncgi |