procmail
[Top] [All Lists]

Auto responder

1999-12-29 18:16:27
hi,,
can anyone tell me if this is setup correctly?

<snip>

:0 Whc: vacation.lock
# Perform a quick check to see if the mail was addressed to us
* $^To:.*\<$\LOGNAME\>
# Don't reply to daemons and mailinglists
* !^FROM_DAEMON
# Mail loops are evil
* !^X-Loop: sales(_dot_)gtinternet(_at_)sales(_dot_)gtinternet(_dot_)com
| formail -rD 8192 vacation.cache

:0 ehc          # if the name was not in the cache
| (formail -rA"Precedence: junk" \
-A"X-Loop: gtinternet(_at_)gtinternet(_dot_)com" ; \
echo "This is an automated response to notify you that we received your
mail,"; \
echo "Please notify us of any abuses."; \
echo "-- "; cat $HOME/reply \
) | $SENDMAIL -oi -t

<snip>

thanks a million

greg

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