From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46098 Path: main.gmane.org!not-for-mail From: Andi Hechtbauer Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP/SSL with gnus Date: Mon, 12 Aug 2002 22:51:47 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <87n0rriyvw.fsf@pod.hq.spin.de> References: <87vg6m7i6g.fsf@giotto.sj.ru> <87n0ryqoax.fsf@pale.loc> <87it2l6zk8.fsf@giotto.sj.ru> <873ctp4495.fsf@giotto.sj.ru> <87bs87lxtr.fsf@pale.loc> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029185758 17955 127.0.0.1 (12 Aug 2002 20:55:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 12 Aug 2002 20:55:58 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17eMEG-0004fS-00 for ; Mon, 12 Aug 2002 22:55:56 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17eMEU-0006H0-00; Mon, 12 Aug 2002 15:56:10 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 12 Aug 2002 15:56:39 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA07329 for ; Mon, 12 Aug 2002 15:56:24 -0500 (CDT) Original-Received: (qmail 3104 invoked by alias); 12 Aug 2002 20:55:51 -0000 Original-Received: (qmail 3099 invoked from network); 12 Aug 2002 20:55:50 -0000 Original-Received: from hop.spin.de (62.208.121.5) by gnus.org with SMTP; 12 Aug 2002 20:55:50 -0000 Original-Received: (qmail 10885 invoked from network); 12 Aug 2002 20:44:58 -0000 Original-Received: from unknown (HELO pod.hq.spin.de) (213.23.59.64) by hop.spin.de with DES-CBC3-SHA encrypted SMTP cert ca@spin.de; 12 Aug 2002 20:44:58 -0000 Original-Received: by pod.hq.spin.de (Postfix, from userid 1000) id 3711E12A; Mon, 12 Aug 2002 22:51:47 +0200 (CEST) Original-To: Alexander Kotelnikov X-PGP-Key-ID: 4E6E583C X-PGP-Fingerprint: 1E56 49B2 20C4 6B6E 88F2 C6B7 0230 2F52 4E6E 583C X-PGP-Key-At: http://staff.spin.de/~anti/anti.key.txt In-Reply-To: <87bs87lxtr.fsf@pale.loc> (Alexander Kotelnikov's message of "Mon, 12 Aug 2002 22:46:24 +0400") Original-Lines: 44 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46098 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46098 >>>>> Alexander Kotelnikov writes: >>>>> On Thu, 08 Aug 2002 21:14:32 +0200 >>>>> "SJ" == Simon Josefsson wrote: SJ> >>>>> May be to switch to (nnimap-stream shell) with ssh, but it >>>>> do not work for me, may be some tweaking is needed. SJ> SSH port forwarding can be recommended. >>> Is there any working example of configuration? SJ> Run this on your client SJ> ssh -L 1430:yourmailserver:143 yxa.extundo.com SJ> and then connect to port 1430 on localhost with Gnus. AK> Ah... this approach has some disadvantages: 1. One have to AK> establish ssh connection before starting gnus 2. gnus is too AK> smart and think it is plugged even if you put it into AK> unplugged, when you conncet to localhost AK> So the thing that I really would like to work is AK> (nnimap-stream shell) with ssh. Is it possible? I think it depends on your imapd on the remote end. It has to be run "preauthenticated. I used to use uw imapd, which has this ability, but wouldn't know how to do it with cyrus, e.g. - but fortunately cyrus knows imaps. (setq imap-shell-program '( "ssh -x -C imap.server.xy /usr/sbin/imapd" )) and (setq gnus-secondary-select-methods '( (nnimap "imap1" (nnimap-address "imap.server.xy") (nnimap-stream shell) (nnimap-list-pattern ("INBOX" "mail/*")) ))) was all I had to do to make it work with uw imapd. HTH, Andi