Barry A. Warsaw added the comment:

On Jun 22, 2015, at 10:00 PM, R. David Murray wrote:

>We change the authobj signature to challenge=None, then the first thing we do
>in auth is 'initial_response = authobj()'.  The return value can be the empty
>string or a real initial value, and we send the auth command with '
>'.join(mechanism, initial_response).strip().  Then we do the challenge part
>only if we get the 334.

Sounds good to me.  I'll see if I can work up a patch.  I have a hack in my
testing code to work around the lack of auth in smtpd.  It's not pretty but it
works.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15014>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to