Gnus development mailing list
 help / color / mirror / Atom feed
* Best way to tunnel pop mail through ssh?
@ 2012-02-06 18:55 Damon Haley
  2012-02-06 23:54 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Damon Haley @ 2012-02-06 18:55 UTC (permalink / raw)
  To: ding


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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-07 20:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-06 18:55 Best way to tunnel pop mail through ssh? Damon Haley
2012-02-06 23:54 ` Lars Ingebrigtsen
2012-02-07 16:26   ` Michael Albinus
2012-02-07 20:34     ` Lars Ingebrigtsen

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).