Re: Zoe and Newspipe

Zoe <[email protected]> Fri, 25 Mar 2005 10:54:21 +0100
Newsgroups gmane.mail.zoe.general
Message-ID <[email protected]>
Hi Lukasz,

On Mar 25, 2005, at 00:03, Lukasz Wiechec wrote:

> send: 'AUTH PLAIN bHVrYXN6AGx1a2FzegBxYXp3czE5NA==\r\n'

There seems to be a glitch in the smtplib.login() method... the above 
credentials decode in 'lukaszlukaszqazws194'... note that the user name 
is encoded twice.

> I also attach small python snippet I've came up with to test the 
> authentication,
> maybe there is something wrong with it.

Nothing wrong with your test, rather something odd going on with 
smtplib...

server = smtplib.SMTP( 'localhost', 10025 )
server.set_debuglevel(1)
server.login( 'user', 'password' )

... results in "dXNlcgB1c2VyAHBhc3N3b3Jk" being send. Which, after 
decoding, looks like "useruserpassword". Note that the user name is 
there twice. Bad karma.

I'm not familiar enough with python to offer much help here. Your best 
bet is to contact the author of Newspipe and/or ask the owner of 
smtplib for some explanations.

Cheers,

R.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click