Playing sound when new mail arrives.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maybe Chuck answered, but in case not ...

I've included my .procmailrc file and my rc.playsound file to give you 
examples of how to put this together.

On Tue, 29 Jan 2002, Dan Murphy wrote:

> Hi all.
> Back around Christmas, I saw something Chuck Hollenbeck posted here that
> would allow you to hear a sound when mail arrived.
> I followed the instructions given, but, Chuck, if you're out there, could
> you perhaps mail me off list and provide some more details about how to
> use procmail for this?
> I run fetchmail in daemon mode all the time, but my experience using
> procmail is non existent.  thanks.
> thanks.
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina at afb.net		Phone: (202) 408-8175

Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org
-------------- next part --------------
     #Set on when debugging
     VERBOSE=off
     #Directory for storing procmail log and rc files
     PMDIR=$HOME/mail/.procmail
     LOGFILE=$PMDIR/log
#     INCLUDERC=$PMDIR/rc.test
     INCLUDERC=$PMDIR/rc.lists
     INCLUDERC=$PMDIR/rc.kills
     INCLUDERC=$PMDIR/rc.playsound
-------------- next part --------------
:0 c
* ^To:.*janina
* !^To:.*,
|play /usr/local/sounds/notify.wav
:0 c
* ^From:.*paula.tucker
* !^From:.*,
|play /usr/local/sounds/tweet2.wav
:0 c
* ^From:.*Paula E. Tucker
* !^From:.*,
|play /usr/local/sounds/tweet2.wav
:0 c
* ^From:.*tappaulat at aol.com
* !^From:.*,
|play /usr/local/sounds/tweet2.wav
:0 c
* ^From:.*kerscher
* !^From:.*,
|play /usr/local/sounds/card_shuffle.wav
:0 c
* ^From:.*pws
* !^From:.*,
|play /usr/local/sounds/critstop.wav


[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux