This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dveeden
Recipients dveeden
Date 2014-01-22.18:17:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390414659.94.0.817881856376.issue20352@psf.upfronthosting.co.za>
In-reply-to
Content
I use 'AUTH PLAIN <secret>' to login to a POP3 server with a proxy user. I can't use 'pass_()' as I need to supply a admin user and the user to proxy into.

class adminpopserver(poplib.POP3):
    def auth(self, method, secret):
        return self._shortcmd('AUTH %s %s' % (method, secret))

secret = "{user}\0{adminuser}\0{password}".format(
    user=user, 
    adminuser=adminuser, 
    password=password)
secret = secret.encode('base64').strip('\n')
History
Date User Action Args
2014-01-22 18:17:39dveedensetrecipients: + dveeden
2014-01-22 18:17:39dveedensetmessageid: <1390414659.94.0.817881856376.issue20352@psf.upfronthosting.co.za>
2014-01-22 18:17:39dveedenlinkissue20352 messages
2014-01-22 18:17:39dveedencreate