Okay. I managed to get an autoresponder recipie working:
:0
* ^TOsales
*!^FROM_DAEMON
*!^X-Loop: sales(_at_)hz(_dot_)com
|(formail -r -A "Precedence: junk" \
-I"From: sales(_at_)hz(_dot_)com (HZ Internet Sales)" \
-A "X-Loop: sales(_at_)hz(_dot_)com";\
cat $FILEDIR/salesinfo.txt)|$SENDMAIL -t
...and it works well. If someone writes a message to sales(_at_)hz(_dot_)com,
the
sender gets an autoresponse immediately with "Re: somesubject" in the
subject line.
Problem: The original message from the sender just vanishes into to
cyberspace somwhere! I've searched my MAILDIR, and other places, and I
can't find it.
I've put VERBOSE=on, and I've looked in the logs... can't find anything
about where the message goes. I've checked /var/log/messages and nothing
in there either thats useful.
Anyone have an idea?
My .procmailrc
VERBOSE=on
#Replace `mail' with your mail directory (Pine uses mail, Elm uses Mail)
MAILDIR=$HOME/mail
#Directory for storing procmail log and rc files
PMDIR=$HOME/.procmail
#
SENDMAIL=/usr/lib/sendmail
FILEDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/rc.autoresponder
Thanks for any help!
Shiloh Costa
costa(_at_)mdi(_dot_)ca