logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mailsound - Play sounds when mail arrives

Description

       Mailsound  is  an  rplay  utility  used to play sounds when mail arrives.  Different sounds can be played
       depending on the contents of mail message  headers.   Mailsound  configuration  is  stored  in  the  file
       ~/.Mailsounds.   Each line in this file contains a perl5 regular expression followed by rplay attributes.
       See the EXAMPLE section below.

       Mailsound needs to be invoked upon mail arrival.  This can be done in many  ways,  but  most  users  will
       probably use either a .forward or .procmailrc file.  With a .forward file, use something like:

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

       For .procmailrc use:

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

Example

        ## 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

                                                     9/19/98                                        MAILSOUND(1)

Name

       Mailsound - Play sounds when mail arrives

Options

--host=hostname[:hostname...]
              Play sounds on the specified host(s).

       --file=filename
              Specify an alternate configuration file.

       --volume=NUMBER
              Default volume for all sounds.

       --priority=NUMBER
              Default priority for all sounds.

Synopsis

Mailsound[options]

See Also