Put this into your user's .procmailrc file, create a file called 'replyfile' that is the body of the mail you want to reply with, and '.signature' that is the signature file.
Full version of this script and instructions at: http://sial.org/howto/procmail/procmailrc-vacation
CACHEFILE=$HOME/.pm-vacation.cache
REPLYFILE=$HOME/replyfile
SENDMAIL=[your sendmail path]
:0 Whc:
* !^FROM_DAEMON
* !^X-Loop: ${LOGNAME}@${DOMAIN}
| formail -rD 8192 ${CACHEFILE}
:0 ehc
| (formail -rI"Precedence: junk" \
-A"X-Loop: ${LOGNAME}@${DOMAIN}" ; \
cat ${REPLYFILE} ; \
echo ""; \
cat ${HOME}/.signature \
) | $SENDMAIL -oi -t
....added....
This is supposed to be a forum for techs.. who thinks it's a smart idea to replace colon-zero with a stupid smiley! pleeeeeeeze.