🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87175

movemail.1

#87175
From: David J. MacKenzie
Date: Wed, 12 Oct 1994 20:02
52 lines
2129 bytes
Someone at my site requested a man page for movemail, since it's not
documented at all.  Here it is, if you want to stick it in etc along
with the other man pages.

.TH MOVEMAIL 1L "GNU Emacs" "FSF"
.SH NAME
movemail \- move mail from an inbox to a user file safely
.SH SYNOPSIS
.B movemail
.I inbox
.I destfile
.SH DESCRIPTION
.B movemail
moves mail from an inbox spool
.I inbox
into another file
.IR destfile ,
locking
.I inbox
the way that the local mail delivery program respects.  It is used by
the GNU Emacs Rmail package and other programs that need to write to
mail files.
.PP
The locking is required by the mailer to prevent loss of mail.
Depending on local conventions, the locking might be done by calling
.B flock
or
.B lockf
on
.I inbox
or by creating a file
.I inbox.lock
in the same directory as
.IR inbox .
On systems that use a lock file, if creation of the lock file fails
due to access permission on the directory, you must change the
directory's access permissions and/or make
.B movemail
a setgid or setuid program so it can create lock files properly.
.PP
If
.I inbox
has the form
.IR po:username ,
then it is assumed to be a POP inbox instead of a file, and
.B movemail
opens a connection to the POP server running on the host named by the
.B MAILHOST
environment variable.
In order to work with POP,
.B movemail
must be setuid to root, because POP uses a privileged TCP port.
Technical Details
Message-ID: <PAA01587.199410121958@catapult.va.pubnix.com>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!openwx!eskimo!mvb.saic.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!va.pubnix.COM!djm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,5cd0fde2af741e84,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-10-12 15:33:41 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!openwx!eskimo!mvb.saic.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!va.pubnix.COM!djm
From: djm@va.pubnix.COM (David J. MacKenzie)
Newsgroups: gnu.emacs.bug
Subject: movemail.1
Date: 12 Oct 1994 16:02:42 -0400
Organization: GNUs Not Usenet
Lines: 52
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <PAA01587.199410121958@catapult.va.pubnix.com>