smtp problem

Gerhard Häring gerhard.haering at opus-gmbh.net
Tue Feb 18 14:44:00 CET 2003


huber <nospam at wanted.com> wrote:
> strange smtp behavior :
> 
> doing the smtp-stuff by hand i get the following output :
> 
> telnet mailserver.xxx.com 25
> Versuch...
> Verbunden mit .........
> Escape-Zeichen ist '^]'.
> 220 mailserver.xxx.com ESMTP
> auth login
> 334 VXNlcm5hbWU6
> userid_base64
> 334 UGFzc3dvcmQ6
> passwd_base64
> 235 ok, go ahead (#2.0.0)
> 
> put doing the same with python ( set_debuglevel(1) ) i get an error :
> 
> 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 ?

It's a bug that's fixed in Python 2.2.2.


Also, please either

a) use a functioning email address instead of abusing 'wanted.com', which most
   likely isn't your domain
   
   or

b) use a non-existant TLD like .invalid

Servus,

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