Gnus development mailing list
 help / color / mirror / Atom feed
* nnimap fails with TLS error when trying to open a davmail server
@ 2013-06-07 20:58 Steinar Bang
  2013-06-08  7:09 ` Andreas Schwab
  0 siblings, 1 reply; 8+ messages in thread
From: Steinar Bang @ 2013-06-07 20:58 UTC (permalink / raw)
  To: ding

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-08-27 14:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-07 20:58 nnimap fails with TLS error when trying to open a davmail server Steinar Bang
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

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).