procmail
[Top] [All Lists]

Re: Playing a .wav sound

2009-02-11 05:02:34
On 10-Feb-2009, at 21:49, Rem P Roberti wrote:
:0
* ^TO_rem(_at_)remdog(_dot_)net
$HOME/Mail/inbox/


:0
* ^TO_rem(_at_)remdog(_dot_)net
{
  PLAY=`/path/to/mplayer $HOME/Audio/notify.wav`

  :0
  $HOME/Mail/inbox/
}

Or

:0
* ^TO_rem(_at_)remdog(_dot_)net
* ? /path/to/mplayer $HOME/Audio/notify.wav
$HOME/Mail/inbox/

(but note that I've never used the latter syntax myself)

I prefer the more obvious look of the first example, though I am sure other prefer the more concise look of the second.

--
I leave symbols to the symbol-minded  - George Carlin

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