Here's a copy of my \etc\procmailrc file:
LOGFILE=/var/log/pm.log
LOG="
"
VERBOSE=yes
# Remove ## when debugging; set to no if you want minimal logging
LOGABSTRACT=all
MAILDIR=$HOME/mail
#Recipe 1
:0 Whc: user.lock
# Check to see if the mail was addressed to user
* $^To:.*jennifer.user
# Don't reply to daemons and mailinglists
* !^FROM_DAEMON
* !^X-Loop: jennifer.user@mydomain.net
| formail -rD 8192 user.cache
:0c eh # if the name was not in the cache
| (formail -rI"Precedence: junk" -I"From: Auto Replier <autoreplier@mydomain.net>" ; -A"X-Loop: jennifer.user@mydomain.net " ; echo "I received your mail," ; echo "however I will be out of the office " ; echo "through March 6th. If you have an issue " ; echo "that must be dealt with immediately, please " ; echo "send your email to: info@mydomain.net " ; echo "Thanks very much. " ; echo " Jennifer User " ; echo "-- jennifer.user@mydomain.net" ) | $SENDMAIL -oi -t
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.