[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Using vacation message for automated response



> I think I have setup it something wrong cause I have no response when
> sending an email to the adress I activated to act as an auto responder.
>

Here's the file I used that worked fine. The email address "menu" was an
alias for the /home/sites/site#/ars/username directory:

###########################################
SHELL=/bin/sh
LOGFILE=$HOME/.procmail-log
VERBOSE=off

:0 hc
* ^TOmenu@xxxxxxxxxx
* !^FROM_DAEMON
* !^X-Loop: menu@xxxxxxxxxx
  | (formail -rtb -I"Precedence: junk" \
     -I"From: <menu@xxxxxxxxxx>" \
     -A"X-Loop: menu@xxxxxxxxxx"; \
     cat $HOME/ars/menu.txt \
     ) | $SENDMAIL -oi -t
:0 A:
$DEFAULT
############################################

--
Dan Kriwitsky