From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72316 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: A few basic nnimap problems Date: Thu, 30 Sep 2010 19:09:28 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87aamz17w0.fsf@nemi.mork.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1285866595 3976 80.91.229.12 (30 Sep 2010 17:09:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2010 17:09:55 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20689@lists.math.uh.edu Thu Sep 30 19:09:51 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P1Mde-0001bO-Fu for ding-account@gmane.org; Thu, 30 Sep 2010 19:09:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P1Mdb-0004ub-8w; Thu, 30 Sep 2010 12:09:43 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P1MdZ-0004uM-Av for ding@lists.math.uh.edu; Thu, 30 Sep 2010 12:09:41 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P1MdV-0003OG-1L for ding@lists.math.uh.edu; Thu, 30 Sep 2010 12:09:41 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P1MdU-0001Yn-00 for ; Thu, 30 Sep 2010 19:09:36 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1MdT-0001YC-L3 for ding@gnus.org; Thu, 30 Sep 2010 19:09:35 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 19:09:35 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 19:09:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 51 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEVLIARmJwoqFAAkEACd diQ0CQExFwE9GwInEwBOHQXb9tWfAAACUElEQVQ4jWWUsW7bMBCG6aKIkU0sDLvZ0ktBqFtrDVE3 KyDsB+gL2KxxymijhtiOlYCCYwx00dv2P1KOneZgyOJ94s/j8ZeUvoii+GJtZSfW2gcliWPK90Xx +QyK/yIQMTORgG8vQEuGjaPXM1qK8QqUIUCNDEDoTg8jKUOZxKrANRL8G6I2CAgAJCVIcAqiEEfK YOBi3iOaOIhSGAOZlD+RAfha0vsbpUZ25pMeK+9/pWf/Wq0tQHMCe1shveuPtprYSo1907AzAGhZ Nr5GD6V3FX5xDgCGN3jcxqZKzBLYRdBre4pq7C9AEkqxEK06rhGVziE7A/DHp+vJCyB78UpKHdkL JW1XwwzvDygrHXumVDVaYZE6tmTn/aLv+yeF8IdxWkNKq/1+lrhcV7KPBLg++Gbobe0nfAac8Tm2 S5aqnNzfTqVvOAo5GK4ikLOjjzianJJxHG3jzgnPuiwPXdmVba7FCGY6AF4/kICQh/tlgHk2EUBr 68RQYrbidwf33l6hu7JGRV0yXUgmNRE43ixpcGP8K4NZA6C0Q0PPUvFKmCKGWzDAJrswvFFiUSjR RmffkUqCJdHaQ+rg8nCVcoMicb0CWLm8SwW1ca2yhLxWvH1HuWTnoeU6kvAHnVQ8gVIXZdqZ7uVe ZqxVvXSUR0BG75dvcI+mYB9buP4ZbLNpPry4KsspxDW61ui3emruElHv8Zam8ufR1dpmoYYn1Af0 7x7OhUkBKtVw+RgCN+rTXdHdO/auKL4e9bTe/VyPlV08Xn4A5tT/eB68+jKc4h8qGFCeoM4P9QAA AABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Zazou, Bikaye & Cy1's _Noir et Blanc_: "M'Pasi Ya M'Pamba" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:+WjIXYjg87n6taiFlSru+eoKAfY= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72316 Archived-At: Bjørn Mork writes: > 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) I think imaps is probably more popular these days than imap + starttls. > 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: Yeah, I don't know what's going on in the starttls.el file. There's a gazillion variables to set there, but nothing to explain how to just use openssl s_client. Does anybody have a recipe? > 3. Even after doing "apt-get install gnutls-bin", starttls is still > no-go: "Unable to contact example.com:nil via (quote starttls)" That sounds odd. You probably have something like: '(nnimap "..." (nnimap-stream 'starttls)) And the second quote shouldn't be there. > 4. Giving up STARTTLS and using (nnimap-stream 'network) does not make > much difference. Similar error Same problem. > 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. See nnimap-shell-program. > (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. It does work with imap.gmail.com, since it's an imaps server. :-) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen