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

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003