procmail
[Top] [All Lists]

non-delivering actions

1996-04-25 11:01:39
Hello,

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 sound to these senders,
# but still read from standard mailbox
:0
* ^From:.(tjs|bache)
{
    :0 c
    $ORGMAIL

    :0
    | rsh jarl "/bin/audioplay -v 60 ~/audio/splat.au"
}

thanks in advance,
Warren

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