checkmail(1) - Linux man page
Name
checkmail - plays a sound file when the user receives mailSynopsis
checkmailDescription
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