procmail
[Top] [All Lists]

Re: Playing Sound

2001-04-17 03:30:12
* Subba Rao <subba9(_at_)home(_dot_)com> [010416 22:36]:
Hi,

I have the following receipe in my .procmailrc which is to play sound when
something is delivered to my default directory.

:0 hwic
* ^TO_subba9(_at_)home(_dot_)com
| play /usr/local/sounds/mail.wav

This works fine. When I run "mailstat" against the procmail.log, I have the
"play" command listed as a email note that was delivered.

   9378       5 play /usr/local/sounds/mail.wav

Is there any other option that will not log the sound playing to the
procmail.log file?

Maybe this works (untested, of course!)

:0
* ^TO_subba9(_at_)home(_dot_)com
{
    LOGABSTRACT=no
    :0 hwic
    | play /usr/local/sounds/mail.wav
}


-- 
mirror facing mirror
nowhere else
   -- Ikkyu
--
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>