Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mailcheck(1) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mail(1)






       mailcheck(1)                                            mailcheck(1)


       NAME
             mailcheck - check for mail

       SYNOPSIS
             mailcheck [-Z]

       DESCRIPTION
             mailcheck checks for the existence of mail.  Whenever it finds
             some, it prints a message on standard output:
                   You have mail

             If the Enhanced Security Utilities are installed, mailcheck
             checks for mail at all security levels dominated by the user's
             current security level.  For example, if you were logged in at
             TopSecret, you might see the message:
                   You have mail at level: TopSecret
                   You have mail at level: Unclassified

             However, if you were logged in at Unclassified, you would only
             see the message:
                   You have mail at level: Unclassified

             If there is no mail, it prints on standard error
                   No mail

             By default, when the Enhanced Security Utilities are
             installed, mailcheck prints the level alias of the fully
             qualified levels dominated by the level at which the user is
             currently logged in.  The -Z option forces mailcheck to print
             the fully qualified level instead of the alias.  The -Z option
             is valid only when the Enhanced Security Utilities are
             installed.

             mailcheck is commonly used in a person's $HOME/.profile as
             follows:
                   mailcheck 2>/dev/null

             This prints a message when there is mail, and is otherwise
             silent.

       EXIT CODES
             0         mail exists at some level

             1         no mail at any checked level




                           Copyright 1994 Novell, Inc.               Page 1













      mailcheck(1)                                            mailcheck(1)


            2         some error occurred

      FILES
            /var/mail                     location of mail

      REFERENCES
            mail(1)









































                          Copyright 1994 Novell, Inc.               Page 2








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026