🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #2651

Mailbox locking on BSD 4.2/4.3 - Help please

#2651
From: Steve Hosgood
Date: Tue, 22 Jan 1991 15:01
16 lines
1185 bytes
I would like to know how 'mailx' (running on a Pyramid under OSx) locks
the user's mail spool file before altering it.

Obviously this must be the same method used by the delivery agent! The
spool file is '/usr/spool/mail/$LOGNAME'.

I tried using the fcntl system, but mail happily delivers to the file
regardless! There does not seem to be any use of a '$LOGNAME.lck' file
in the spool directory.

Help would be appreciated. Thanks in advance.

Steve                                              |  WALES: "If Wales was
iiitsh@pyr.swan.ac.uk                              | flattened out, it would
..or in Britain, where we drive on the other side: | be bigger than England".
iiitsh@uk.ac.swan.pyr                              |                 - Gren.
Technical Details
Message-ID: <2241@cybaswan.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!cf-cm!cybaswan!iiitsh

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!cf-cm!cybaswan!iiitsh
From: iiitsh@cybaswan.UUCP (Steve Hosgood)
Newsgroups: comp.mail.misc
Subject: Mailbox locking on BSD 4.2/4.3 - Help please
Message-ID: <2241@cybaswan.UUCP>
Date: 22 Jan 91 15:01:27 GMT
Reply-To: iiitsh@cybaswan.UUCP (Steve Hosgood)
Organization: Institute for Industrial Information Technology
Lines: 16