Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: IMAP error when posting
Date: Wed, 02 Oct 2002 23:47:38 +0200	[thread overview]
Message-ID: <ilu7kh0ms1x.fsf@latte.josefsson.org> (raw)
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")

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.




      reply	other threads:[~2002-10-02 21:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01  8:12 Kai Großjohann
2002-10-01 12:42 ` Simon Josefsson
2002-10-01 14:07   ` Kai Großjohann
2002-10-01 14:28     ` Kai Großjohann
2002-10-01 15:10       ` Simon Josefsson
2002-10-01 14:57     ` Simon Josefsson
2002-10-01 15:02       ` Kai Großjohann
2002-10-01 15:07       ` Kai Großjohann
2002-10-01 15:37         ` Kai Großjohann
2002-10-01 17:41           ` Kai Großjohann
2002-10-01 22:57             ` Simon Josefsson
2002-10-02 20:17               ` Kai Großjohann
2002-10-02 21:47                 ` Simon Josefsson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilu7kh0ms1x.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).