Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: nnimap fails with TLS error when trying to open a davmail server
Date: Sat, 08 Jun 2013 21:22:13 +0200	[thread overview]
Message-ID: <874nd8jtlm.fsf@dod.no> (raw)
In-Reply-To: <878v2kk753.fsf@dod.no>

>>>>> Steinar Bang <sb@dod.no>:

> Hm... telling gnutls-cli to use starttls actually seems to work, so why
> does nnimap (with linked-in gnutls.so) fail...?

>  sb@edwards:~$ gnutls-cli -V -s -p 1143 localhost
>  Resolving 'localhost'...
>  Connecting to '::1:1143'...

>  - Simple Client Mode:

>  - Received[87]: * OK [CAPABILITY IMAP4REV1 AUTH=LOGIN MOVE] IMAP4rev1 DavMail 4.3.1-2134 server ready

The error message from gnus with (nnimap-stream starttls) was:
 Opening connection to localhost...
 Unable to open server nnimap+davmail due to: Buffer  *nnimap localhost 1143  *nntpd**-720412 has no process

So I googled that error message instead, specifically:
 Unable to open server nnimap+davmail due to
and found this article:
 http://article.gmane.org/gmane.emacs.gnus.user/15365
 nntp://news.gmane.org/gmane.emacs.gnus.user/15365

I changed the server definition to:
 (nnimap "davmail"
         (nnimap-server-port 1143)
         (nnimap-address "localhost")
         (nnimap-stream network))

(ie. "(nnimap-stream network)" instead of "(nnimap-stream starttls)")
and then the server opened and I could see the groups on that server.

I subscribed three groups, but when trying to enter them, I got
 gnus-select-newsgroup: Wrong type argument: number-or-marker-p, OK

I started a new emacs, ran
 (setq debug-on-error t)
and then
 M-x load-library nnimal.el RET
to load nnimap as emacs source, and then started Gnus.

This time I was able to enter the nnimap groups, though a group with 444
articles loaded veeeeery slooowly, and when I finally was able to enter
it, I saw only the newest article in the group, and like the author of
the above article, I saw "nobody" as the sender of that article.

(I didn't use agent on that nnimap server.  That might have speeded up
things, but it would have added an extra error source, and would have
ended up saving multiple copies of the same office documents on my local
hard disk...)

So in short, nnimap with davmail doesn't work in a useful manner right
now.

However, back in October 2010, with the new nnimap freshly in place,
nnimap+davmail seemed to be working:
 http://thread.gmane.org/gmane.emacs.gnus.general/69762/focus=73759
 nntp://news.gmane.org/gmane.emacs.gnus.general/73759

Are anyone else successfully using davmail and nnimap these days?

Thanks!


- Steinar




  reply	other threads:[~2013-06-08 19:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-07 20:58 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 [this message]
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=874nd8jtlm.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).