procmail

Chuck Hallenbeck chuckh at sent.com
Thu Sep 25 16:45:32 EDT 2003


Deedra,

Here is a set of five lines that will first play a specific
sound when speakup meail is detected, and then direct that mail
to a speakup folder. I use pine and the standard pine mail
folder setup.

:0 c
 * ^Reply-To: .*@braille.uwo.ca
 | play /usr/local/etc/speakup.wav
:0 A
 $HOME/mail/speakup

This should take you further.

Chuck


On Thu, 25 Sep 2003, Deedra Waters wrote:

> hrmm, I've got it partially working, with one slight problem.  I need a
> way to make it go to both my inbox as well as play the sound the output
> from the procmail log shows that it's skipping the sound in favor of the
> folder when I add in the folder factor.
>
> On Thu, 25 Sep 2003, Keith Watson
> wrote:
>
> > Yep, here's mine for the list.
> >
> > :0 c
> > * ^TOspeakup
> > |play /usr/local/sounds/mail/jetmail.wav
> >
> > Have fun.
> >
> >
> > On 06:38 AM, Chuck Hallenbeck wrote:
> > > Hi Deedra,
> > >
> > > Here is the simplest case:
> > >
> > > Create a file in your home directory called ".procmailrc" and put
> > > two lines in it as follows:
> > >
> > > :0 c
> > > | play /usr/local/etc/prayer.wav
> > >
> > > Modify the second line to point to the particular sound file you
> > > want to play, and of course if the "play" command is wrong,
> > > change that too -- maybe to "aplay" for the alsa wav file player.
> > >
> > > You can also make the system play certain sounds when certain
> > > messages are detected, but the above will play a sound whenever
> > > any mail is received.
> > >
> > > HTH
> > >
> > > Chuck
> > >
> > >
> > > On Thu, 25 Sep 2003, Deedra Waters wrote:
> > >
> > > > a while back someone mentioned how to get procmail to play a sound file
> > > > for certain things. I'm in desperate need to get it to do this right now,
> > > > if someone could let me know how to do this again, I'd very very seriously
> > > > appreciate it, thanks.
> > > >
> > > >
> > > >
> > > >
> > >
> > > --
> > > The Moon is Waning Crescent (1% of Full)
> > >  Get my public key from website, http://www.mhonline.net/~chuckh
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup at braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> >
>
>

-- 
The Moon is New
 Get my public key from website, http://www.mhonline.net/~chuckh





More information about the Speakup mailing list