MAILSOUND(1)

✨ MAILSOUND(1) ✨

General Commands Manual πŸŽ€ Okay bestie, this is the manpage for Mailsound, and it is SO good at one specific thing. πŸ’…


πŸ’– NAME πŸ’–

Mailsound - Play sounds when mail arrives πŸ””


πŸ¦‹ SYNOPSIS πŸ¦‹

Mailsound [options]

🌸 DESCRIPTION 🌸

Okay so Mailsound is an rplay utility, which means it plays sounds when mail shows up. ✨ The vibe is that different sounds can play depending on what's in the mail message headers, so every email gets its own little theme song 🎢 Your config lives in the file ~/.Mailsounds. Each line in that file has a perl5 regular expression followed by rplay attributes. Check the EXAMPLE section below for the full glow-up. πŸ’œ

Mailsound needs to be invoked when mail arrives. There are a bunch of ways to do this, but most users will probably use either a .forward file or a .procmailrc file. 🧚

For a .forward file, do something like this:

\yourusername, |"/usr/local/bin/Mailsound -h soundhostname"

For a .procmailrc file, use this:

:0 ic
| /usr/local/bin/Mailsound -h doctor:doit

πŸ‘‘ OPTIONS πŸ‘‘

  • --host=hostname[:hostname ...] β€” Play the sounds on the host (or hosts) you name. πŸ”Š
  • --file=filename β€” Point Mailsound at a different config file if ~/.Mailsounds isn't your vibe. πŸ“‚
  • --volume=NUMBER β€” The default volume for every sound. 🎚️
  • --priority=NUMBER β€” The default priority for every sound. ⭐

πŸ“ EXAMPLE πŸ“

Here's a sample config that's giving organized chaos πŸ’…

## Mailing lists
^(To|Cc):.*ding.*               sound=ding.au volume=50
^(To|Cc):.*xpilot.*             sound=wheres_the_kaboom.au
^(To|Cc):.*gopher.*             sound=monkey-3.au
^(To|Cc):.*fvwm.*               sound=ploop.au

^From root@?.*                  sound=bogus.au priority=255
^From news@?.*                  sound=beep.au

## Everything else...
.*                              sound=Thank_you_very_much.au

🧚 FILES 🧚

  • ~/.Mailsounds πŸ“

Sign-off time 🌈 This was the General Commands Manual entry for MAILSOUND(1), last updated 9/19/98. Stay iconic, stay hydrated, and go hear your inbox sing πŸ¦‹πŸ’œβœ¨