smtp problem

Peter Hansen peter at engcorp.com
Tue Feb 18 08:38:39 EST 2003


huber wrote:
> 
> strange smtp behavior :
> 
> send: 'auth login\r\n'
> reply: '334 VXNlcm5hbWU6\r\n'
> reply: retcode (334); Msg: VXNlcm5hbWU6
> send: 'userid_base64\n\r\n'
> reply: '334 UGFzc3dvcmQ6\r\n'
> reply: retcode (334); Msg: UGFzc3dvcmQ6
> send: 'passwd_base64\n\r\n'
> reply: '501 malformed auth input (#5.5.4)\r\n'
> 
> does someone know what's going wrong ?

No, but I think the extra newline in the last two
commands to the server look very suspicious.  Doesn't
SMTP mandate CR-LF pairs for all input?

-Peter




More information about the Python-list mailing list