How to check for [new] mail at login time?.
Greyham Stoney
greyham at hades.OZ
Fri May 4 11:23:39 AEST 1990
I'm looking for solutions to the problem of how to check for a user having
mail (and saying specifically if it's new) at login time. What's the
standard way of checking for this on System-V Unix?.
I'd like this check to be done for every user when they log in, and display
soething like:
You have new mail (if they have new mail)
You have mail (if they have mail, but it's not 'new')
(nothing if they've no mail)
I could scratch together my own solution, but I'd rather use a standard one
if there is one.
If anyone has scripts or programs or info they could send me on this, please
Email. Post too if you like, but please email me a copy.
thanks,
Greyham.
--
/* Greyham Stoney: Australia: (02) 428 6476 *
* greyham at hades.oz - Ausonics Pty Ltd, Lane Cove, Sydney, Oz. *
* "BUT THAT'S JUST A BUTTON ON A STRING, BASICLY!!!" */
More information about the Comp.unix.questions
mailing list