From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31701 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus Access mail spool by ssh Date: Sun, 9 Jul 2000 01:08:21 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168081 15572 80.91.224.250 (21 Oct 2002 02:41:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:41:21 +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 380D4D051E for ; Sat, 8 Jul 2000 19:14: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 SAC23615; Sat, 8 Jul 2000 18:10:41 -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 18:09:31 -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 SAA17631 for ; Sat, 8 Jul 2000 18:09:21 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 6A3BBD051E for ; Sat, 8 Jul 2000 19:09:55 -0400 (EDT) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id BAA22992; Sun, 9 Jul 2000 01:08:22 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id BAA25674; Sun, 9 Jul 2000 01:08:21 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id BAA10086; Sun, 9 Jul 2000 01:08:21 +0200 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: Harry Putnam In-Reply-To: Harry Putnam's message of "08 Jul 2000 14:02:27 -0700" User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.90 Original-Lines: 25 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31701 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31701 One problem is file locking. The program that reads /var/spool/mail/jrl on the desktop machine needs to do file locking to prevent sendmail (or whatever you use) from writing to the same file at the same time. Idea: given that you have an Emacs installation on the desktop machine, you could do the following from the laptop: # $desktop is the host name of the desktop machine. # $movemail is the full path name of movemail on $desktop # $mailfile is the full path name of /var/mail/foo on $desktop # $desk_home is the home dir of the user on $desktop # $lap_home is the home dir of the user on the laptop ssh $desktop $movemail $mailfile $desk_home/TMPFILE scp $desktop:TMPFILE $lap_home/TMPFILE The above two commands could be put in a script which is used as `:prescript' from mail-sources. Then, tell Gnus to fetch mail from TMPFILE. How's that sound? kai -- I like BOTH kinds of music.