checkmail(1nas)

checkmail1nas

Plays a sound file when the user receives mail

Usage

checkmail

Overview

The checkmail program checks the status of the user's mail drop. If new mail is waiting, checkmail runs playbucket to play a sound and returns an exit status of 0. If mail has been cleared, an exit status of 2 is returned. If there has been no change, an exit status of 1 is returned.

The checkmail program is intended to be used with the checkCommand resource of xbiff. To set this resource, add the following line to your .Xdefaults file:

xbiff*checkCommand: checkmail

Files

/usr/spool/mail/$USER

the user's mail drop

$HOME/.mailstat

holds the previous mail drop size

$HOME/.mailsound

audio file to play when there's new mail

Releases

14 releases since Debian 2.1 (Slink); the text changed 5 times.

  1. 2.1–2.2
  2. 3.0
  3. 3.1
  4. 4.0–6.0
  5. 7
  6. 8–13

Author

Greg Renda, Network Computing Devices, Inc.

From nas-bin 1.9.4-9 in Debian 13 (Trixie). Parsed by carta from the page's man source.