From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.help Subject: Re: IMAP over SSH in GNUS Date: Thu, 14 Feb 2008 22:27:25 +0100 Organization: T-Online Message-ID: References: <20080214125116.GB28671@sqlserver> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203040300 28479 80.91.229.12 (15 Feb 2008 01:51:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2008 01:51:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 02:52:03 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 1JPpkA-0005eh-Lx for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2008 02:52:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPpjg-0001An-QN for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Feb 2008 20:51:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-X-Trace: news.t-online.com 1203026133 03 19942 V22M1TvvaVUobyz 080214 21:55:33 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: JTqWjkZcoe86UoWNuEqyf-Zfh9-Ka3EAcDn6zq+ufoiCQO8ghQuZch X-Face: 3Phac&+dw=IZHjhua]bp}LH<*p{qzj8u+ (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 See ~/.authinfo in (info "(gnus)NNTP"). > 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)) Hm, I never tried something like this. Does it help to redirect stderr to /dev/null as suggested in the manual? ,----[ (info "(gnus)IMAP") ] | For IMAP connections using the `shell' stream, the variable | `imap-shell-program' specify what program to call. Make sure | nothing is interfering with the output of the program, e.g., don't | forget to redirect the error output to the void. `---- If you don't get help here, you may ask in gnu.emacs.gnus. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/