From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31700 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Gnus Access mail spool by ssh Date: 08 Jul 2000 14:02:27 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168080 15563 80.91.224.250 (21 Oct 2002 02:41:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:41:20 +0000 (UTC) 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 AA104D0520 for ; Sat, 8 Jul 2000 17:19:29 -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 QAC23466; Sat, 8 Jul 2000 16:15:52 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 08 Jul 2000 16:02:09 -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 QAA17139 for ; Sat, 8 Jul 2000 16:01:58 -0500 (CDT) Original-Received: from mail.networkone.net (mail.networkone.net [209.144.112.75]) by mailhost.sclp.com (Postfix) with SMTP id 1E6FDD051E for ; Sat, 8 Jul 2000 17:02:31 -0400 (EDT) Original-Received: (qmail 17425 invoked from network); 8 Jul 2000 21:02:30 -0000 Original-Received: from adsl-117-113.ln.networkone.net (HELO reader.ptw.com) (209.144.117.113) by mail.networkone.net with SMTP; 8 Jul 2000 21:02:30 -0000 Original-Received: (from reader@localhost) by reader.ptw.com (8.9.3/8.9.3) id OAA30358; Sat, 8 Jul 2000 14:02:27 -0700 Original-To: ding@gnus.org Original-Lines: 41 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31700 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31700 [ 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 realize there are other ways via scp, rsync, mirror using ssh but it seems the most convient to have the laptop users inbox be a ssh connection to the parent desktop at /var/spool/mail/$NAME I'll use procmail to send a copy of every mail to /var/spool/mail/NAME, on the parent machine. I know how to do that part. Then both machines will have full access to the mail without screwing up the others spool. I would like to just have $MAIL on the laptop set to `ssh PARENT:/var/spool/mail/$NAME' to access the procmail created spool on the parent machine. I'm pretty lost how to script this so that when a mail client is called, a ssh connection is initiated and /var/spool/mail/$NAME becomes the inbox. What would be nice is to just say `M-x gnus' and a ssh connection is started and mail in PARENT:/var/spool/mail/$NAME is viewed, expired saved etc. I have `TRAMP' installed and can think of several ways that application could be called in to do this job, but would rather find a more general solution so that *any* mail client could use it. I have ssh-agent setup and do understand how to avoid password problems during connections. (Thanks Kai)