From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31709 Path: main.gmane.org!not-for-mail From: Nuutti Kotivuori Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus Access mail spool by ssh Date: 10 Jul 2000 15:00:45 +0300 Sender: owner-ding@hpc.uh.edu Message-ID: <87zonqchzm.fsf@sonera.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035168088 15613 80.91.224.250 (21 Oct 2002 02:41:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:41:28 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id A2D6ED051E for ; Mon, 10 Jul 2000 08:04:16 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id HAC25898; Mon, 10 Jul 2000 07:04:07 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 10 Jul 2000 07:03:10 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id HAA05232 for ; Mon, 10 Jul 2000 07:02:59 -0500 (CDT) Original-Received: from smtp.dave.sonera.fi (smtp.dave.sonera.fi [131.177.130.21]) by mailhost.sclp.com (Postfix) with ESMTP id 096A0D051E for ; Mon, 10 Jul 2000 08:03:33 -0400 (EDT) Original-Received: from kotivnu1-nb.ete.tele.fi ([131.177.214.96]:1333 "EHLO oro") by inside.dave.sonera.fi with ESMTP id ; Mon, 10 Jul 2000 15:03:24 +0300 Original-Received: from naked by oro with local (Exim 3.12 #1 (Debian)) id 13BcEv-0000I1-00; Mon, 10 Jul 2000 15:00:45 +0300 Original-To: Harry Putnam In-Reply-To: (Harry Putnam's message of "08 Jul 2000 14:02:27 -0700") Original-Lines: 48 User-Agent: T-gnus/6.14.4 (based on Gnus v5.8.6) EMY/1.13.6 (Life is balance) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.1 (patch 10) (Capitol Reef) (i386-debian-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31709 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31709 "Harry" == Harry Putnam writes: > [ also posted to freebsd-mobil list] > > I have ssh-1.2.27 installed and use it extensively. In fact I've set > my machines (personal at home machines) to only allow connections via > ssh. > > Now I want to have a laptop running FreeBSD 4.0 networked to desktop > running Redhat linux, be able to view/manipulate mail on the parent machine > but don't want to setup pop, imap or special sendmail stuff. I > don't want more daemons running that can be exploited from the internet. > And haven't really looked into firewall technique. > I have ssh-agent setup and do understand how to avoid password > problems during connections. (Thanks Kai) Um. I have a similar problem. But my problem was that I wanted to store all my mail folders on my server and on my laptop, including sent mail - and still be able to read and send mail offline. Firstly, there is no need to run an imap daemon lessening security, since it can be run directly from a shell as well. The imap server starts up as preauthenticated then, and ofcourse if it's run thru ssh, the whole connection is encrypted. So, if you want to just fetch mail from the spool (INBOX?), you can do something similar to my fetchmail scripts. (The current script uses an identity without a passphrase which only allows access to the imap daemon, but it can be changed to whatever ofcourse) bin/fetchmail-imap-wrapper: exec ssh -i $HOME/.ssh/identity-imap -l xxxxx $1 /opt/net/etc/imapd .fetchmailrc: poll xxxxx with proto IMAP and options no dns preauth ssh plugin /usr/home/xxxxx/bin/fetchmail-imap-wrapper I think this can be easily adapted into mail-sources fetching, correct if I'm wrong though, but I'm not so sure about nnimap. If it can be adapted to nnimap, you can effectively share mailboxes with your server and use gnus-agent to download the articles to local storage, possibly using a cache as well. I'm going to experiment more on the remote accessing thru IMAP soon enough, when I move my mail again. -- Naked