1CHECKMAIL(1) General Commands Manual CHECKMAIL(1)
2
3
4
6 checkmail - plays a sound file when the user receives mail
7
9 checkmail
10
12 The checkmail program checks the status of the user's mail drop. If
13 new mail is waiting, checkmail runs playbucket to play a sound and re‐
14 turns an exit status of 0. If mail has been cleared, an exit status of
15 2 is returned. If there has been no change, an exit status of 1 is re‐
16 turned.
17
18 The checkmail program is intended to be used with the checkCommand re‐
19 source of xbiff. To set this resource, add the following line to your
20 .Xdefaults file:
21
22 xbiff*checkCommand: checkmail
23
25 /usr/spool/mail/$USER the user's mail drop
26
27 $HOME/.mailstat holds the previous mail drop size
28
29 $HOME/.mailsound audio file to play when there's new mail
30
32 playbucket(1), xbiff(1), nas(1)
33
35 Copyright 1994 Network Computing Devices, Inc.
36
38 Greg Renda, Network Computing Devices, Inc.
39
40
41
42 1.9.5 CHECKMAIL(1)