🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #1144

System mailbox ../spool/mail/user_mbox format, need help.

#1144
From: Medi Montaseri
Date: Tue, 08 Sep 1992 00:35
23 lines
1229 bytes
Hello Earthians

Objective:
write a program to invoke another program when new mail has been received.

Now we know, mailtool(1) in sun world sets a flag on its icon. I also
know that some program writes a line like "You have new mail" to my
tty. I think this is done by checking /var/spool/mail/some_file file,
to see if there is any new mail. My question is how is this decision
made. That is, is the size of the file checked, or the time and
access, or the file is actually processed. If the file is proccessed
then I think the field Status is checked. If so what are the possible
values, I know it can be "O" or "OR".

References are appreciated as well.

Thanks

	Medi

-- 
Medi
E_mail: ntmtv!montasmm@ames.arc.nasa.gov
Technical Details
Message-ID: <1992Sep8.003555.22437@ntmtv>
Path: arc1-ca.pugleaf.net!sparky!uunet!portal!ntmtv!ntmtv!montasmm

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!portal!ntmtv!ntmtv!montasmm
From: montasmm@ntmtv.UUCP (Medi Montaseri)
Subject: System mailbox ../spool/mail/user_mbox format, need help.
Message-ID: <1992Sep8.003555.22437@ntmtv>
Originator: montasmm@nmtvs299
Sender: news@ntmtv
Nntp-Posting-Host: nmtvs299
Reply-To: montasmm@ntmtv.UUCP (Medi Montaseri)
Organization: Northern Telecom Inc, Mountain View, CA
Distribution: ba
Date: Tue, 8 Sep 1992 00:35:55 GMT
Lines: 24