[MERGE] improve SMTPConnection connection setup

James Henstridge james at jamesh.id.au
Tue Oct 9 23:51:48 BST 2007


I was running into problems getting the bzr-pqm plugin to talk to an
SMTP server that required TLS and authentication.  The plugin failed
because the server also required that the client verify that those
features were supported via an EHLO request.

I put together a patch to fix this in the plugin, but Robert suggested
that the plugin should instead be using bzrlib.smtp_connection.  It
turns out that the bzrlib.smtp_connection code is similarly broken (as
it was derived from bzr-pqm), so here is a patch to fix the copy in
bzr.

James.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-smtp-setup.patch
Type: text/x-diff
Size: 9576 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071010/cc14b437/attachment.bin 


More information about the bazaar mailing list