procmail
[Top] [All Lists]

Re: Procmail autoresponder doesn't work

1996-11-07 09:49:57
Hello.

I have a procmail file that looks like this:

PATH=/usr/local/bin
MAILDIR=/var/spool/mail
DEFAULT=/var/spool/mail/$LOGNAME
LOGFILE=$HOME/logproc
SHELL=/bin/sh

# handle duplicat messages
:0 Whc: msgid.lock
| formail -D 32768 $HOME/.cache.msgid

:0:
* Subject: *keyword
* !^FROM_DAEMON
| (formail -r ; cat $HOME/reply) | $SENDMAIL -oi -t 


Instead of sending the file reply, it just sends a blank message.

I would appreciate any help that I can get to get this problem solved.

You need to tell FORMAIL to keep the body.

Try replacing '(formail -r' with '(formail -rk' in the above.  Oh, and 
reading the MAN pages can help too :^)

Lates!
----------------------------------
Tim <bodysurf(_at_)netcom(_dot_)com>
"Finger" for PGP v2.6.2 Public Key

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