From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46932 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP error when posting Date: Wed, 02 Oct 2002 23:47:38 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87lm5imvat.fsf@crybaby.cs.uni-dortmund.de> <871y7adzi1.fsf@crybaby.cs.uni-dortmund.de> <87ofaemc4i.fsf@crybaby.cs.uni-dortmund.de> <87r8fa6uhc.fsf@crybaby.cs.uni-dortmund.de> <87ptuujbua.fsf@crybaby.cs.uni-dortmund.de> <873crod28r.fsf@crybaby.cs.uni-dortmund.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1033595310 12115 127.0.0.1 (2 Oct 2002 21:48:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 2 Oct 2002 21:48:30 +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 17wrM4-00039H-00 for ; Wed, 02 Oct 2002 23:48:28 +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 17wrLb-0001RP-00; Wed, 02 Oct 2002 16:47:59 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 02 Oct 2002 16:48:40 -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 QAA01041 for ; Wed, 2 Oct 2002 16:48:27 -0500 (CDT) Original-Received: (qmail 20605 invoked by alias); 2 Oct 2002 21:47:41 -0000 Original-Received: (qmail 20600 invoked from network); 2 Oct 2002 21:47:40 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 2 Oct 2002 21:47:40 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id g92LlcFt024514; Wed, 2 Oct 2002 23:47:39 +0200 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Mail-Copies-To: nobody X-Hashcash: 0:021002:Kai.Grossjohann@CS.Uni-Dortmund.DE:70e3335f415dc6c2 X-Hashcash: 0:021002:ding@gnus.org:0c4d4d81754bcae1 In-Reply-To: <873crod28r.fsf@crybaby.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Wed, 02 Oct 2002 22:17:40 +0200") 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:46932 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46932 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > Is there a hook so that I can tell Gnus to start port-forwarding prior > to connecting to the server if not enabled? So far, I always forget > to start the port forwarding and need to be reminded by the error > message. Here is what I use. '(gnus-load-hook (quote ((lambda nil (call-process "ssh" nil 0 nil "-L" "1430:imapserver:143" "-L" "1190:quimby.gnus.org:119" "-L" "2500:mailserver:587" "loginserver" "-N"))))) Ssh keeps on running after you kill emacs though. Starting another gnus doesn't hurt, ssh seems to die silently when it is already running.