smtp problem
Gerhard Häring
gerhard.haering at opus-gmbh.net
Tue Feb 18 08:45:11 EST 2003
Peter Hansen <peter at engcorp.com> wrote:
> 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. [...]
Good catch :-) Naively using base64.encodestring was exactly the problem
which was fixed in 2.2.2.
Cheers,
Gerhard
--
Gerhard Häring
OPUS GmbH München
Tel.: +49 89 - 889 49 7 - 32
http://www.opus-gmbh.net/
More information about the Python-list
mailing list