Problem connecting to SMTP/IMAP server using SSL

Dan Stromberg drsalists at gmail.com
Thu Apr 12 13:34:32 EDT 2012


Maybe it's a matter of two different protocols, one requiring a VPN, one
not.

You could perhaps try a sniffer to check that out.  Where to place the
sniffer could be complicated though.

On Fri, Mar 30, 2012 at 10:39 PM, Julien <jphalip at gmail.com> wrote:

> Hi,
>
> I'm able to connect to an Exchange server via SMTP and IMAP from my
> iPhone using SSL and without using a VPN. So I would expect to be able
> to do the same from my computer using Python.
>
> However, the following hangs and times out on my computer when I'm not
> connected to the VPN:
>
> >>> import imaplib
> >>> imap = imaplib.IMAP4_SSL("my.server.address")
>
> If I am connected to the VPN, then it works fine.
>
> Do you know why it won't work with SSL and without the VPN? Am I
> missing something?
>
> Thanks a lot,
>
> Julien
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120412/7610eab1/attachment-0001.html>


More information about the Python-list mailing list