procmail
[Top] [All Lists]

RE: Playing a .wav sound

2009-02-10 20:10:56
On Wed, 11 Feb 2009, Dallman Ross wrote:


Alan Clifford wrote Wednesday, February 11, 2009 1:13:

:0
* conditions
{ dummy=`program  ` }

And yet another way:

 :0 c
 * conditions
 | program

You need the c-flag to keep from losing the mail.
The pipe eats the mail.


And yet another way:

 :0
 * conditions
 * ? program
 your_action,_including_a_possible_deliver_to_mailbox

Dallman

I have the following working for me. Let's me know in advance if an "important" person is e-mailing me.

:0
* ^Return-path:.*(address1.tld|\
                  address2.tld|\
                  address3.tld|\
                  address4.tld)
{
   :0c
   |play /home/fleet/sounds/Ding.wav

   :0
   personal
}

                                - fleet -
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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