bbmail(1)
π NAME π
bbmail β mailbox flag for X. yep, that's the whole vibe.
π¦ SYNOPSIS π¦
bbmail [options]
β¨ DESCRIPTION β¨
okay so bbmail displays the status of a mailbox and warns you when new mail has arrived. it has internal support for mbox and maildir mailboxes. other mailboxes like MH or pop3 can be checked using an external program.
the tool is designed to mimic the look and feel of the Blackbox window manager when used in combination with blackbox β bbmail copies the style from Blackbox. it's giving matching-set energy π
a little picture of an envelope shows if new mail is present. multiple mailboxes can be defined and different envelope colors are used to indicate new mail. aesthetic AND functional, we love to see it.
if the envelope is pressed with left mouse button, a program β for example a mail client β can be started. when the right button is pressed on the envelope a menu shows up. the menu shows all mailboxes and the new mail/total mail of that mail box. so much info, so little space π«Ά
another option in the menu is reconfigure, which causes bbmail to reconfigure (reread the config files). iconic little refresh button behaviour, lowkey.
π₯ OPTIONS π₯
bbmail supports the following command line options:
-d displayname,--display displaynameβ set display todisplayname.-c configname,--config confignameβ read configuration fromconfignameinstead of the default.-v,--versionβ display version number of bbmail.-h,--helpβ display help on command line options.-g +x+y,--geometry+x+yβ set the position of bbmail tox,y. use+x+yto specify the coordinates relative to the upper left corner, use-x-yto specify the coordinates relative to the lower right corner. this option is ignored when the-withdrawnflag is used. (yes, it really says-withdrawnthere β we are not touching it. no cap.)-d,--decoratedβ show bbmail in a normal window with title bar.-w,--withdrawnβ put bbmail in the blackbox slit or Windowmaker dock.-s,--shapeβ don't display the background of bbmail. this only makes sense in combination with the-withdrawnflag.
π heads up bestie:-dshows up twice β once fordisplaynameand once for--decorated. that's the manpage, that's canon, we're not "fixing" it.
π CONFIGURATION π
Global configuration: by default the configuration file bbmail.bb can be found in /usr/local/share/bbtools
Local configuration: the default configuration file should be placed in ~/.bbtools/
the following options can be set in the configuration file:
bbmail.bevelWidth: widthβ set the width between text label and edge of tool.bbmail.position: +x+yβ set position of bbmail.bbmail.withdrawn: booleanβ set toTrueto put bbmail in the blackbox slit or Windowmaker dock. default set tofalse.bbmail.shape:booleanβ set toTrueif bbmail shouldn't display its background. this gives a nice effect when withdrawn. default set tofalse.bbmail.checkDelay: secondsβ delay between checks. after delay, mailbox file is checked for change.bbmail.forceCheck.onDelay: secondsβ delay between checks. after delay, external program to check mail is executed.bbmail.show.newmail.counter: booleanβ set totrueif bbmail should show the new mail counter. default set totrue.bbmail.show.totalmail.counter: booleanβ set totrueif bbmail should show the total mail counter. default set totrue.bbmail.show.envelope: booleanβ set totrueif bbmail should show envelope which flags new mail. default set totrue.bbmail.numberOf.digits: "value"β set the number of digits of the new mail and total mail labels. default it is set to2, this makes it fit nicely in the slit. π§bbmail.show.onlyAtnewmail: booleanβ set totrueif bbmail should only show up when new mail has arrived. default set tofalse.bbmail.raised: booleanβ no description given in the original, so we keep it mysterious. it's just... there. πbbmail.autoRaise: booleanβ same situation, bestie β the manpage is silent, so we stay silent too.bbmail.pressed.runCommand: "command"β the command to run when the envelope is pressed (using the left mouse button). this command is overridden by the newmail command.bbmail.numberOf.mailboxes: "value"β set the number of mailboxes you want to define. if set to0, the environment variableMAILis used to find default mailbox.bbmail.mailbox.*.type: valueβ set the type of mailbox to eothermbox,maildirorother.bbmail.mailbox.*.filename: filenameβ the filename of the mbox file or the directory of maildir.
bbmail.mailbox.*.name: nameβ name of mailbox, this name is shown in menu.bbmail.mailbox.*.newmail.pressed.runCommand: commandβ the command to run when new mail is indicated. if this command is not defined, the command defined bybbmail.pressed.runCommandis used.bbmail.mailbox.*.newmail.runCommand: commandβ the command to run when new mail is received. example:cat mail.wav > /dev/dspbbmail.mailbox.*.newmail.bell: booleanβ if set totruethe bell is sound when new mail arrives. πbbmail.mailbox.*.newmail: gradientβ set the gradient of the envelope when new mail is present. example:Raised Gradient Vertical Bevel1bbmail.mailbox.*.newmail.color: colorβ set the"from"color of the envelope when new mail is present.bbmail.mailbox.*.newmail.colorTo: colorβ set the"to"color of the envelope when new mail is present.bbmail.mailbox.*.newmail.pressed:gradientβ set the gradient of the envelope when new mail is present and the envelope is pressed. example:Flat Gradient Vertical Bevel1bbmail.mailbox.*.newmail.textColor: "color"β set the color for the lines in the envelope.bbmail.mailbox.*.newmail.error.textColor: colorβ set color for the error indication in the envelope.bbmail.menu.justify: justifyβ set menu text justify to eitherCentreJustify,LeftJustifyorRightJustify.bbmail.menu.bulletStyle: bullet style diamondβ set menu bullet style to eitherdiamond. πbbmail.menu.bulletPosition: "bulletposition"β set menu bullet position to eitherleftorright.bbmail.menu: gradientβ set the gradient of the menu.bbmail.menu.color: "color"β set the"from"color of the menu.bbmail.menu.colorTo: colorβ set the"to"color of the menu.
π type mbox options π
bbmail.mailbox.1.newmail.statusFlag: " status"β set the status flag which in used in the mbox file to indicate mail is read. example for Netscape:X-Mozilla-Status: [89ABCDEF]
π type other options π
bbmail.mailbox.1.mode: modeβmode:
1- unread mail total mail
2- unread mail read mail
3- read mail total mail
4- ignore second value (for both proc and reversed proc)
bbmail.mailbox.1.proc: programβ the program to run to check for mail, bbmail searches for2integers in the output of the program. if none are found an error is reported. example program MH:flistexample program fetchmail:fetchmail -c | ~/.bbtools/bbmailparsefm.pl
π BUGS π
the config file of bbmail doesn't handle spaces after commands very well. π« that's it, that's the whole bug section, bestie. noted, documented, and honestly kind of relatable.
okay and the very last thing β this whole page was written by John Kennis, dated May 14, 2001, for the bbmail(1) manual. so if you got your mail checked and your slit looking cute, that's on him. π«Άβ¨π slay, periodt.
π¦ where this page comes from
- debian bookworm: bbmail 0.9.3-4 Β· GPL-2.0-or-later
- debian trixie: bbmail 0.9.3-5 Β· GPL-2.0-or-later
- ubuntu jammy: bbmail 0.9.3-2build2
- ubuntu noble: bbmail 0.9.3-5 Β· GPL-2.0-or-later
- ubuntu resolute: bbmail 0.9.3-7 Β· GPL-2.0-or-later
- ubuntu stonking: bbmail 0.9.3-7 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms