Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: nnimap fails with TLS error when trying to open a davmail server
Date: Fri, 07 Jun 2013 22:58:57 +0200	[thread overview]
Message-ID: <87li6lk57y.fsf@dod.no> (raw)

Platform: Intel P4,
	  debian testing ("jessie"),
          GNU Emacs 24.3.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-04-13 on murphy, modified by Debian
          libgnutls26:i386 2.12.20-6
          Ma Gnus v0.8
          davmail 4.3.1-2134-1


I have started a davmail http://davmail.sourceforge.net/ server that
talks to an Exchange server.  But nnimap fails when trying to open the
IMAP server presented by davmail.

Here is the server definition (created in the server buffer, not as a
select method):
 (nnimap "davmail"
         (nnimap-server-port 1143)
         (nnimap-address "localhost")
         (nnimap-stream starttls))

The error message from the Messages buffer, is:
 Opening connection to localhost...
 Unable to open server nnimap+davmail due to: Buffer  *nnimap localhost 1143  *nntpd**-720412 has no process


If I change the server definition to
 (nnimap "davmail"
         (nnimap-server-port 1143)
         (nnimap-address "localhost")
         (nnimap-stream ssl))
or
 (nnimap "davmail"
         (nnimap-server-port 1143)
         (nnimap-address "localhost")
         (nnimap-stream tls))

then I get the following error message in the Messages buffer (the same
error message for both of the above nnimap-stream values):

 Opening connection to localhost via tls...
 gnutls.c: [0] (Emacs) fatal error: An unexpected TLS packet was received.
 gnutls.el: (err=[-15] An unexpected TLS packet was received.) boot: (:priority NORMAL :hostname localhost :loglevel 0 :min-prime-bits 256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :verify-hostname-error nil :callbacks nil)
 Unable to open server nnimap+davmail due to: GnuTLS error: #<process *nnimap*<1>>, -15
gnutls.c: [0] (Emacs) fatal error: An unexpected TLS packet was received. [100 times]
indent-relative: Buffer is read-only: #<buffer *Server*>

Does anyone know what might cause this?  Has anyone else had any success
with davmail?

Thanks!


- Steinar




             reply	other threads:[~2013-06-07 20:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-07 20:58 Steinar Bang [this message]
2013-06-08  7:09 ` Andreas Schwab
2013-06-08 13:23   ` Steinar Bang
2013-06-08 14:29     ` Steinar Bang
2013-06-08 19:22       ` Steinar Bang
2013-06-10  6:30         ` Ted Zlatanov
2013-06-10 11:04           ` Issues with davmail and nnimap (Was: nnimap fails with TLS error when trying to open a davmail server) Steinar Bang
2013-08-27 14:55             ` Issues with davmail and nnimap Steinar Bang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87li6lk57y.fsf@dod.no \
    --to=sb@dod.no \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).