From: | Herbert Engelmann <Herbert.Engelmann [...] lrz-muenchen.de> |
To: | bug-Mail-IMAPClient [...] rt.cpan.org |
Subject: | IMAPClient and SSL |
Date: | Mon, 9 Aug 2004 11:24:39 +0200 |
-----BEGIN PGP SIGNED MESSAGE-----
Dear Mr Kernen,
I am using Mail::IMAPClient to sort my incoming mail
and to discard spam. This worked very well so far.
You can download my program at
http://www.lrz-muenchen.de/~engelmann/mailbot/
Now my provider wants me to use SSL when I connect
to his server. I tried the example you give in the
pod, but it did not work.
What happened is this:
I open a ssl-socket at port 993, but, when I create
my client with new, connect and login, then a new
connection at port 143 is opened and the password
goes unencrypted over the line.
I use Version 2.2.9 on a SuSE Linux 8.2. More detail
about the imap-server can be found in the attached
files.
After some experimenting I found the subroutine
connect in IMAPClient.pm. I changed it as you can
see in the attached unified diff. It now works
in the way I want it to.
May be you find this interesting.
regards
Herbert Engelmann
attachments:
1. stripped down version of my program
2. diff for IMAPClient.pm
3. output of the above program with unchanged
and
4. changed IMAPClient.pm
- --
H. Engelmann, 089-289-28836, engelmann@lrz.de
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3in
Charset: noconv
iQCVAwUBQRdC2KhxGsmXUG+lAQEdJwQAhRBtKzx/rqIRRyiMPQuUtf37vNtwbVG2
dmod/ABAo5OvxM0uAfPra+KcVaam6MdDm/pWl9AgcuXgDgNDg6wxvUxsOl7uclt4
33AkrHPEM6xCvFfOTbbEHt2uS3Yx3wG+lj4+oc2YWOMzA1v83z2npvCqJP3gNgpx
hpD2OiISY7s=
=yakj
-----END PGP SIGNATURE-----
Message body not shown because it is not plain text.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.