procmail
[Top] [All Lists]

Making autoresponder from a file ??

1999-01-12 18:11:10

I'm using the following recipe to make an autoresponder.  It keeps
logging the error that the file/directory test.txt does not exist,
although it is there and the cat command works from the command line.
It returns the mail just fine, but the body of the message is empty...
Can anyone give me a clue?  Thanks.



:0
* ^X-Rcpt-To: list(_at_)mystuff(_dot_)org
* !^X-Loop: webmaster(_at_)mystuff(_dot_)org
| ( $FORMAIL -r -A"X-Loop: webmaster(_at_)mystuff(_dot_)org"    \
            -I"From: list(_at_)mystuff(_dot_)org" ;\
    cat test.txt ) | $SENDMAIL -oi -t



-D. Israel
danielis(_at_)mosaix(_dot_)com <mailto:danielis(_at_)mosaix(_dot_)com> 

Measure wealth not by the things you have, but by the things you have
for which you would not take money.

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