From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hans Ekbrand Newsgroups: gmane.emacs.help Subject: IMAP over SSH in GNUS Date: Thu, 14 Feb 2008 13:51:16 +0100 Message-ID: <20080214125116.GB28671@sqlserver> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LyciRD1jyfeSSjG0" X-Trace: ger.gmane.org 1202997139 7198 80.91.229.12 (14 Feb 2008 13:52:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Feb 2008 13:52:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 14 14:52:42 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JPeW1-0001NQ-Rc for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Feb 2008 14:52:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPeVY-0005aB-6K for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Feb 2008 08:52:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPdYg-0000Q8-SJ for help-gnu-emacs@gnu.org; Thu, 14 Feb 2008 07:51:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPdYg-0000Pl-1j for help-gnu-emacs@gnu.org; Thu, 14 Feb 2008 07:51:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPdYf-0000Pe-OM for help-gnu-emacs@gnu.org; Thu, 14 Feb 2008 07:51:21 -0500 Original-Received: from ironportin-vas-3.it.gu.se ([130.241.151.108]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JPdYf-0003VA-DU for help-gnu-emacs@gnu.org; Thu, 14 Feb 2008 07:51:21 -0500 X-IronPort-AV: E=Sophos;i="4.25,352,1199660400"; d="asc'?scan'208";a="23586935" Original-Received: from mac61.kanslis.gu.se (HELO samfak.gu.se) ([130.241.114.61]) by ironportout-vas-3.it.gu.se with ESMTP; 14 Feb 2008 13:51:18 +0100 Original-Received: from sqlserver (130.241.119.5) by samfak.gu.se with ESMTP (Eudora Internet Mail Server 3.2.6) for ; Thu, 14 Feb 2008 13:51:18 +0100 Original-Received: from hans by sqlserver with local (Exim 4.60) (envelope-from ) id 1JPdYa-0007n4-I0 for help-gnu-emacs@gnu.org; Thu, 14 Feb 2008 13:51:16 +0100 Content-Disposition: inline User-Agent: Mutt/1.5.11 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Thu, 14 Feb 2008 08:51:52 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51512 Archived-At: --LyciRD1jyfeSSjG0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Dear list! I want to try out gnus for reading email. Currently, I use mutt with IMAP over ssh like this: set tunnel="ssh -q code.cjb.net 'export MAIL=maildir:$HOME/Maildir; /usr/lib/dovecot/imap --exec-mail imap'" After reading the documentation of gnus, I tried the following: (setq gnus-select-method '(nntp "textnews.news.cambrium.nl")) (setq gnus-secondary-select-methods '( (nnimap "code.cjb.net" (nnimap-stream shell) (imap-shell-program "ssh -q code.cjb.net 'export MAIL=maildir:$HOME/Maildir; /usr/lib/dovecot/imap --exec-mail imap'") ) (nnimap "test" (nnimap-address "localhost") (nnimap-server-port 1234) ) ) ) While the second entry "test", works it requires: a. a working ssh-tunnel before I start gnus b. that the imap server is configured to listen on a port and to authenticate c. that gnus manages (asks me about) username and password for the imap server All of which are unnecessary in my current setup (the mutt-onliner above). Why does not the first entry above "code.cjb.net" work? (gnus says: {nnimap:test} (opened) {nnimap:code.cjb.net} (denied)) --LyciRD1jyfeSSjG0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFHtDlEfCyHKnBQYU4RArL9AKCvuERVjWAW2AhRVBzJufT7/uN3cACfSmuq 2hnWgwMXzzmloIM3AJbqMKo= =m7dP -----END PGP SIGNATURE----- --LyciRD1jyfeSSjG0--