DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using e-mail

Automatic notification of new mail

You can configure your environment so that you are notified whenever new mail is sent to you, even if you are not in mail. To do this, set the MAIL shell variable to the pathname of your system mailbox. For example, if you are using the Bourne or Korn shells, you might set:

   $ MAIL=/usr/spool/mail/login
   $ export MAIL
You must set the mail shell variable if you are using the C shell:
   $ setenv mail /usr/spool/mail/login
For details on how to set environment variables, see ``Setting environment variables''.
Next topic: Redirecting incoming messages to other folders
Previous topic: Making mail execute commands at startup

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005