procmail
[Top] [All Lists]

Executing a program on reception of mail from someone

1998-01-12 10:33:17
I'm trying to play a particular sound file when I get mail from
a particular person.

This rule does not work:

:0 c
* ^From: Peter S Galbraith <galbraith(_at_)mixing(_dot_)qc(_dot_)dfo(_dot_)ca>
| /usr/X11R6/bin/auplay /usr/lib/exmh/drip.au

However, this rule does redirect a copy of mail from me correctly:

:0 c
* ^From: Peter S Galbraith <galbraith(_at_)mixing(_dot_)qc(_dot_)dfo(_dot_)ca>
testfile

And this command in a shell does procude a sound:

cat anyfile | /usr/X11R6/bin/auplay /usr/lib/exmh/drip.au

Any hints?
-- 
Peter Galbraith, research scientist             
<galbraith(_at_)mixing(_dot_)qc(_dot_)dfo(_dot_)ca>
Maurice-Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada  418-775-0852 - FAX 418-775-0546

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