Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Downloading mail using pop3s

1 view
Skip to first unread message

Manuel Carro

unread,
Oct 28, 2009, 11:03:25 AM10/28/09
to info-gnu...@gnu.org

Hello. I am trying to read mail through pop3s and gnutls-cli seems to
be able to made a connection:


gnutls-cli -p 995 my.host.com
Resolving 'my.host.com'...
Connecting to 'X.Y.Z.W:995'...
- Certificate type: X.509
- Got a certificate list of 1 certificates.

- Certificate[0] info:
# The hostname in the certificate matches 'my.host.com'.
# valid since: Wed Aug 31 11:46:09 CEST 2005
# expires at: Thu Aug 31 11:46:09 CEST 2006
# fingerprint: F4:08:D3:CA:C8:C0:0B:D4:AF:89:7A:F9:FD:DD:6D:41
# Subject's DN: C=SP,ST=AAAA,L=BBBB,O=CCCC,OU=DDDD,CN=my.host.com,EMAIL=ro...@my.host.com
# Issuer's DN: C=SP,ST=AAAA,L=BBBB,O=CCCC,OU=DDDD,Cn=my.host.com,EMAIL=ro...@my.host.com


- Peer's certificate issuer is unknown
- Peer's certificate is NOT trusted
- Version: TLS1.0
- Key Exchange: RSA
- Cipher: AES-128-CBC
- MAC: SHA1
- Compression: NULL
- Handshake was completed

- Simple Client Mode:

+OK POP3 my.host.com 2004.89 server ready
quit
+OK Sayonara
*** Fatal error: A TLS packet with unexpected length was received.
*** Server has terminated the connection abnormally.


However Gnus exits with an error:

Reading /home/mcarro/.newsrc.eld...
Reading active file from mail via nnml...
nnml: Reading incoming mail from pop...
Opening TLS connection to `my.host.com'...
Opening TLS connection with `gnutls-cli -p 995 my.host.com'...done
Opening TLS connection to `my.host.com'...done
Mail source (pop :server my.host.com :port pop3s :user mcarro) error (POP SSL connexion failed). Continue? (y or n)

I can read using (non-secure) pop3. Is there any way to snoop what the
gnutls-cli is doing, to try to isolate the problem? Thanks!

--
+------------------------------------------------------------------------------+
| Manuel Carro --- Facultad de Informática -- U. Politécnica de Madrid (UPM) |
| Campus de Montegancedo --- E-28660 Boadilla del Monte --- Spain |
| Phone: +34-913363747 --- FAX: +34-913363669 |

Ted Zlatanov

unread,
Nov 12, 2009, 2:23:31 PM11/12/09
to
On Wed, 28 Oct 2009 16:03:25 +0100 Manuel Carro <mca...@fi.upm.es> wrote:

MC> Hello. I am trying to read mail through pop3s and gnutls-cli seems to
MC> be able to made a connection:

MC> However Gnus exits with an error:

MC> Reading /home/mcarro/.newsrc.eld...
MC> Reading active file from mail via nnml...
MC> nnml: Reading incoming mail from pop...
MC> Opening TLS connection to `my.host.com'...
MC> Opening TLS connection with `gnutls-cli -p 995 my.host.com'...done
MC> Opening TLS connection to `my.host.com'...done
MC> Mail source (pop :server my.host.com :port pop3s :user mcarro) error (POP SSL connexion failed). Continue? (y or n)

MC> I can read using (non-secure) pop3. Is there any way to snoop what the
MC> gnutls-cli is doing, to try to isolate the problem? Thanks!

You can trace through the functions that the
mail-source-{check,fetch}-pop functions call. I'm not sure what's
wrong, but I would try the :program option to make sure a direct call to
gnutls-cli works and then use :port to indirectly call it.

Ted

0 new messages