CHECKMAIL(1)
π checkmail β bestie, your mail is ringing
okay so this is the manual for checkmail, from the General Commands Manual section 1, and it's genuinely one of those tiny little programs that does one thing and eats. it checks if you got mail. and then it plays a lil sound. that's it. that's the whole girl. π
β¨ NAME β¨
checkmail β plays a sound file when the user receives mail π΅π
β¨ SYNOPSIS β¨
checkmail
no flags. no arguments. no drama. she just goes. β¨
β¨ DESCRIPTION β¨
so the checkmail program checks the status of your mail drop, right? like, she peeks. π and then depending on what she sees, she does one of three things, and she tells you which one by way of her exit status:
- if new mail is waiting,
checkmailrunsplaybucketto play a sound, and returns an exit status of0πΆπ«Ά - if mail has been cleared, she returns an exit status of
2 - if there has been no change, she returns an exit status of
1
fr fr, that's the entire personality. and honestly? iconic.
the way that checkmail is intended to be used is with the checkCommand resource of xbiff. so if you want xbiff to run this lil cutie for you, you go add this line to your .Xdefaults file:
xbiff*checkCommand: checkmail
and then xbiff is calling her up every time it needs a vibe check. periodt. π
β¨ FILES β¨
she touches exactly three files and you should know all of them:
/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 π§
β¨ SEE ALSO β¨
go read these too, they're the friend group:
β¨ COPYRIGHT β¨
Copyright 1994 Network Computing Devices, Inc.
β¨ AUTHOR β¨
Greg Renda, Network Computing Devices, Inc. π«Ά
okay that's the whole page bestie, no cap. this was checkmail 1.9.4 from the General Commands Manual section 1, and that's the version and the whole vibe, mwah. go check your mail. ππ¦π
π¦ where this page comes from
- debian bookworm: nas-bin 1.9.4-7
- debian trixie: nas-bin 1.9.4-9
- ubuntu jammy: nas-bin 1.9.4-7build1
- ubuntu noble: nas-bin 1.9.4-8
- ubuntu questing: nas-bin 1.9.4-9
- ubuntu resolute: nas-bin 1.9.4-9.2
- ubuntu stonking: nas-bin 1.9.4-9.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms