procmail
[Top] [All Lists]

Re: playing specific sound

2002-12-04 11:14:11
On Wed, Dec 04, 2002 at 07:39:44AM +0100, Thomas Goetz wrote:
how can a play a specifc sound (e.g. *.wav) whenever a specific mailbox is 
filtered, I tried:

You really don't want to do that. Use comsat for notification.
However...

:0:
* ^From:(_dot_)*foo(_at_)bar(_dot_)net
/home/foo/bar
|play /home/foo/bar.wav

but this doesn't work as the condition is alredeady complied with the 
filtering.

As you've discovered, you can only have one action line.

:0c:
* condition
/home/foo/bar

        :0i # Ignore the write error message
        |play /home/foo/bar.wav 

-- 
Andrew Edelstein        -       http://andrew.pure-chaos.com/resume.txt

Please do not reply directly to me, or Cc: me on a reply to a list message.
I'll get my copy from the list.

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