From d62c053a608997ca345400f633bd3e4f1c927f3f Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 7 Feb 2012 21:40:04 +0100 Subject: [PATCH] Add a pop3 via SSH tunnel example to the Gnus manual * gnus.texi (Mail Source Specifiers): Add a pop3 via an SSH tunnel example (modified from an example by Michael Albinus). --- texi/ChangeLog | 5 +++++ texi/gnus.texi | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/texi/ChangeLog b/texi/ChangeLog index e656b55ba..9ed122d82 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,8 @@ +2012-02-07 Lars Ingebrigtsen + + * gnus.texi (Mail Source Specifiers): Add a pop3 via an SSH tunnel + example (modified from an example by Michael Albinus). + 2012-01-30 Philipp Haselwarter (tiny change) * gnus.texi (Agent Basics): Fix outdated description of diff --git a/texi/gnus.texi b/texi/gnus.texi index cc62de0b4..1241ad77a 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -14751,6 +14751,18 @@ corresponding keywords. A script to be run before fetching the mail. The syntax is the same as the @code{:program} keyword. This can also be a function to be run. +One popular way to use this is to set up an SSH tunnel to access the +@acronym{POP} server. Here's an example: + +@lisp +(pop :server "127.0.0.1" + :port 1234 + :user "foo" + :password "secret" + :prescript + "nohup ssh -f -L 1234:pop.server:110 remote.host sleep 3600 &") +@end lisp + @item :postscript A script to be run after fetching the mail. The syntax is the same as the @code{:program} keyword. This can also be a function to be run. -- 2.25.1