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
14 returns an exit status of 0. If mail has been cleared, an exit status
15 of 2 is returned. If there has been no change, an exit status of 1 is
16 returned.
17
18 The checkmail program is intended to be used with the checkCommand
19 resource of xbiff. To set this resource, add the following line to
20 your .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.1 CHECKMAIL(1)