Gnus development mailing list
 help / color / mirror / Atom feed
From: Damon Haley <vinylisl@ssl-mail.com>
To: ding@gnus.org
Subject: Best way to tunnel pop mail through ssh?
Date: Mon, 06 Feb 2012 11:55:03 -0700	[thread overview]
Message-ID: <7shaz394hk.fsf@ssl-mail.com> (raw)


Hi, I currently use fetchmail to pull mail off a host with a background
ssh process that procmail then sends to a GNUS-read mail spool.

What's the best way that I could get rid of fetchmail and procmail and
just do this in GNUS v.5.13?

Here's the fetchmailrc.

poll localhost protocol POP3 port 1235 uidl
     username cappuccino password espresso nokeep
     preconnect "tunnel-grind-pop";
mda "procmail -d %T"

Here's the preconnect script

% cat ~/bin/tunnel-grind-pop
ssh -f -L 1235:mail.grind.org:110 cappucino@bean.grind.org sleep 60

Could I do something like this with the GNUS 'prescript' function?  I'd
also like the ssh tunnel to shut down when I'm not checking mail.

Any suggestions are appreciated.

Thanks,

Damon

p.s I'm also really looking forward to the new GNUS multi-smpt feature as right
now I use msmtp with five smtp hosts and I'd love to get those passwords
in .authinfo.gpg



             reply	other threads:[~2012-02-06 18:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-06 18:55 Damon Haley [this message]
2012-02-06 23:54 ` Lars Ingebrigtsen
2012-02-07 16:26   ` Michael Albinus
2012-02-07 20:34     ` Lars Ingebrigtsen

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=7shaz394hk.fsf@ssl-mail.com \
    --to=vinylisl@ssl-mail.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).