From: "Bjørn Mork" <bjorn@mork.no>
To: ding@gnus.org
Subject: A few basic nnimap problems
Date: Thu, 30 Sep 2010 19:03:11 +0200 [thread overview]
Message-ID: <87aamz17w0.fsf@nemi.mork.no> (raw)
I am slow...
I have spent some time now trying to just get a basic nnimap connection
going on a test account, so that I am able to experiment a bit without
risking anything.
The problems are:
1. nnimap seems to default to "imaps", so you actually have to configure
some none-default setting to get a connection on any sane server (using
STARTTLS on port 143)
2. setting (nnimap-stream 'starttls) doesn't help either, as this
requires some odd binary I didn't have:
"Unable to open server nnimap+example.net due to: Searching for program: no such file or directory, gnutls-cli"
Note that I do have openssl, and have no problems using it to initiate
a STARTTLS session:
$ openssl s_client -starttls imap -connect example.com:143 -no_ssl2 -ign_eof
CONNECTED(00000003)
[..]
SSL-Session:
Protocol : TLSv1
Cipher : AES256-SHA
[..]
---
. OK CAPABILITY completed
3. Even after doing "apt-get install gnutls-bin", starttls is still
no-go: "Unable to contact example.com:nil via (quote starttls)"
4. Giving up STARTTLS and using (nnimap-stream 'network) does not make
much difference. Similar error
5. Going for (nnimap-stream 'shell), which I *know* works since I use
that for my regular mail, also gives a few problems. The
imap-shell-program variable does not seem to be respected, but instead
gnus defaults to ssh'ing to the imap server.
6. Even allowing the ssh is not enough. Gnus complains about a missing
ssh-askpass binary unless the host key was already cached.
OK, I finally got the imap connection up, but I believe there is far too
much hassle and it seems currently impossible to configure Gnus for a
"normal" IMAP connection. I believe this:
(setq gnus-select-method '(nnimap "example.com"))
should result in a working connection to any IMAP server listening on
port 143/tcp, and automatically enable STARTTLS if supported by the
server.
Bjørn
next reply other threads:[~2010-09-30 17:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-30 17:03 Bjørn Mork [this message]
2010-09-30 17:09 ` Lars Magne Ingebrigtsen
2010-09-30 18:04 ` Bjørn Mork
2010-09-30 18:53 ` Lars Magne Ingebrigtsen
2010-09-30 20:08 ` Steinar Bang
2010-09-30 20:57 ` Lars Magne Ingebrigtsen
2010-10-01 11:17 ` Bjørn Mork
2010-10-01 12:36 ` Daniel Pittman
2010-10-01 17:10 ` Lars Magne Ingebrigtsen
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=87aamz17w0.fsf@nemi.mork.no \
--to=bjorn@mork.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).