procmail
[Top] [All Lists]

Re: CC, notify and logging

2001-09-03 00:24:14
On  0, Tim Holmes <tim(_at_)unixtechs(_dot_)org> wrote:

I've used play, `which play`, and even /usr/bin/play, and I always get
an error.  Here's another one of the errors I've gotten.

/usr/bin/play: basename: command not found
/usr/bin/play: uname: command not found
/usr/bin/play: sox: command not found
procmail: Program failure (127) of "/usr/bin/play"

Since I couldn't manage to get the *.wav to play, I thought I'd just
have a file saying "Email from 'so-n-so'" emailed to my text pager.
Basically using a command like:

cat test-file | mail pagerem(_at_)il(_dot_)address

Well I've found that I need to give the path names for everything.  So I
had to change that to:

/bin/cat $HOME/test-file | /bin/mail pagerem(_at_)il(_dot_)address


Define PATH at the start of the .procmailrc, just like you do in .profile

PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:/usr/share/wav

-- 

Subba Rao
subba9(_at_)home(_dot_)com
http://members.home.net/subba9/

GPG public key ID CCB7344E
Key fingerprint = A8DD 4CBA 1E9B D962 A55B  2B55 BAFE 92C5 CCB7 344E
_______________________________________________
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>