🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Medi Montaseri Tue, 08 Sep 1992 00:35
System mailbox ../spool/mail/user_mbox format, need help.
#1144
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads