procmail
[Top] [All Lists]

Re: multiple actions

2000-07-28 09:50:00
this may work (untested):

# if a message to procmail
# play sound
:0
* ^TO_\/(_dot_)+procmail(_at_)*
| /usr/bin/play ~/sounds/asterisk.wav

# if the preceeding recipe succeeded
# save message to procmail_list folder
:0A:
procmail_list



On Fri, 28 Jul 2000, jack wallen wrote:

let's say i want to take a mail from a digest and store it in it's own folder
BUT i also want to play a particular sound to notify me that it's in there.  i
have sound working fine with my normail e-mail (that is when there are no other
actions) but when i'm trying to send it to it's own folder i can't seem to get 
it
to work.  what i have is:

:0:
* ^TO_\/(_dot_)+procmail(_at_)*
{   
  | /usr/bin/play ~/sounds/asterisk.wav
:0
  procmail_list
}

is this way off?

thanks for any help.

-- 
Jack Wallen, Jr
Editor in Chief of Linux Content
TechRepublic
http://www.techrepublic.com/tpg
-----
..  I want FORTY-TWO TRYNEL FLOATATION SYSTEMS installed within
SIX AND A HALF HOURS!!!

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



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