🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #566

Re: Checking for new mail

#566
From: Vernon Schryver
Date: Sun, 27 Aug 1989 20:20
17 lines
1137 bytes
There is a trouble with schemes for comparing mtime & atime to see if new
mail has arrived.

Atime>=mtime after /bin/mail has delivered mail, unless it cannot read the
mail box.  Thus, since /bin/mail is SGID=mail to write it, you have to make
/usr/mail/$USER unreadable by group.  Note that breaks /bin/mail's
forwarding mechanism.

If you use the bit of dung called mailx to look at mail, and delete some
but not all of the contents of your mailbox, mailx will carefully restore
atime<mtime.  The stupidity is reasonably obvious in the source.

These bugs are in SVR3.[012].  Perhaps they are absent in Xenix.

Vernon Schryver
vjs@calcite.uucp    or    {pyramid,sgi}!calcite!vjs
Technical Details
Message-ID: <64@calcite.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sgi!calcite!vjs
References: <105@csnz.co.nz> <1989Aug26.200813.15629@twwells.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sgi!calcite!vjs
From: vjs@calcite.UUCP (Vernon Schryver)
Newsgroups: comp.mail.misc,comp.unix.xenix,comp.unix.i386
Subject: Re: Checking for new mail
Summary: won't work in SVR3
Message-ID: <64@calcite.UUCP>
Date: 27 Aug 89 20:20:46 GMT
References: <105@csnz.co.nz> <1989Aug26.200813.15629@twwells.com>
Organization: Rhyolite Software, Mountain View, CA
Lines: 17