procmail
[Top] [All Lists]

Re: non-delivering actions

1996-04-26 01:12:45
-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 25 Apr 1996, Warren Caddy to the Dalai Lama Fox wrote:

I'm sure there's a simple answer to this, but I don't see it
in the man pages.  I want to play an audio sound when mail arrives.
I'm currently using this recipe, which works, but I'm wondering if
there is a more efficient way to do this (I'm trying to pipe the
mail into rsh?).

Add the h and i flags to the recipe. That way, only the message headers 
are piped to rsh (and not used). The i ensures that any error during the 
pipe is ignored 
...
    :0
    | rsh jarl "/bin/audioplay -v 60 ~/audio/splat.au"
}


- --
Guy Geens <guy(_dot_)geens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be>: Ph.D. 
student at ELIS -- TFCG / IMEC 
Home Page: http://www.elis.rug.ac.be/ELISgroups/tfcg/staff/gg.html 
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use 
keyserver) 

"Cocaine, such an amusing drug. Don't you think?"
                        Princess Margaret to the Rolling Stones



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: pgp fingerprints in message headers

iQBVAwUBMYB+anwHoCha5QR1AQFQbgH/fgh+IR2nod1eCB1GFFVu4dFRyU/wr/E4
uLRePsuMu5a6MIKL6fCezK47PaWMWmq8Lfzk+ql2S6vYTJORx1+WTQ==
=T+8E
-----END PGP SIGNATURE-----

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