🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87621

RMAIL uses locking (movemail) on spool file only

#87621
From: Joe Ramey
Date: Mon, 12 Sep 1994 22:46
19 lines
1623 bytes
In GNU Emacs 19.26.1 (sparc-sun-sunos4.1.3, X toolkit) of Thu Sep 8
1994 on jello

Why does RMAIL only use locking (via the movemail program) on the file
in /usr/spool/mail (or wherever rmail-spool-directory is)?  Emacs
users at our site sometimes use either deliver or procmail to deliver
new mail into various folders in their login directories, then read
this new mail with RMAIL.  Since RMAIL doesn't use movemail to lock
these files before reading the new mail from them, there is a chance
that their mail files will be corrupted (and in fact this does happen
from time to time.)

I see that rmail-insert-inbox-text goes to particular trouble so that
it only calls movemail when the mail is in rmail-spool-directory.  It
would be nice if there was a variable one could set to make RMAIL
always use movemail.

Joe Ramey
ramey@csc.ti.com
Technical Details
Message-ID: <9409122240.AA13160@jello.csc.ti.com>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!news.kei.com!MathWorks.Com!yeshua.marcam.com!usc!howland.reston.ans.net!math.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!jello.CSc.ti.COM!ramey

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,1100f805e7d3db93,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-09-12 19:30:37 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!news.kei.com!MathWorks.Com!yeshua.marcam.com!usc!howland.reston.ans.net!math.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!jello.CSc.ti.COM!ramey
From: ramey@jello.CSc.ti.COM (Joe Ramey)
Newsgroups: gnu.emacs.bug
Subject: RMAIL uses locking (movemail) on spool file only
Date: 12 Sep 1994 18:46:53 -0400
Organization: GNUs Not Usenet
Lines: 19
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9409122240.AA13160@jello.csc.ti.com>
Reply-To: ramey@csc.ti.com