procmail
[Top] [All Lists]

Trouble with Autoresponder....Please help

2001-05-24 01:51:58
I am having a big mail loop problem with a recipe I have applied for one
of my users....and I am failing to see where the loop emanates from. Could
someone kindly look at this recipe and tell me where I went wrong..

MTIA 

####
#Autoresponder.....instead of VACATION!
## Avoid e-mail loops and accept mail from lists I am subscribed to.
* ! ^(TO|CC|Cc)(_dot_)*njeri(_at_)wananchi\(_dot_)com
#* ! ^FROM:.*wananchi.com
* ! ^FROM:(_dot_)*njeri(_at_)wananchi(_dot_)com
* ! ^FROM_DAEMON
* ! ^FROM_MAILER
* ! ^List-
* ! ^(Mailing-List|Approved-By|BestServHost|Resent-(Message-ID|Sender)):
* ! ^Sender: (.*-errors@|owner-)
* ! ^X-[^:]*-List:
* ! ^(Mailing-List|Approved-By|BestServHost|Resent-(Message-ID|Sender)):
* ! ^Sender: (.*-errors@|owner-)
* ! ^X-[^:]*-List:
*
! ^X-(Authentication-Warning|Loop|Sent-To|(Listprocessor|Mailman)-Version):
* ! ^Precedence: (junk|bulk|list)
* ! ^X-Loop: *\<njeri(_at_)wananchi\(_dot_)com>
* ! ^X-Loop: *njeri(_at_)wananchi\(_dot_)com
* ! ^(To|CC|Cc|Bcc|From):.*njeri@([-a-z0-9_]+\.)*wananchi\.com
* ! ^From:.*nobody
{
 :0 h c
# Prepare and send notification
# Be sure to customize for your sendmail path
| (formail -rt \
        -I "Subject: Njeri is currently away from office." \
        -A "X-Loop: njeri(_at_)wananchi(_dot_)com" \
        -I "From: Njeri's Out of Office Assistant" ; \
echo    "*************************************************" ; \
echo    "*  This response message is computer-generated. *" ; \
echo    "*  Please do not respond to this auto-message   *" ; \
echo    "*************************************************" ; \
echo    ; \
echo    "I am currently away from the office." ; \
echo    "For sales enquiries, please send e-mail to 
<sales(_at_)wananchi(_dot_)com>." ; \
echo    "For Customer Service enquiries, please send an e-mail to 
<cs(_at_)wananchi(_dot_)c
echo    "For all other Official Managerial correspondence, please send e-mail" ;
echo    "to <management(_at_)wananchi(_dot_)com>." ; \
echo    "I will be checking my e-mail on a regular basis and so will be able to"
echo    "respond to any personal matters." ; \
echo    ; \
echo    "Thank you.") \
        | $SENDMAIL -oi -t
:0 c
| /usr/local/bin/formail -rtzxTo: >> $FILEDIR/autobot.log

:0:
/var/mail/njeri
}
#EOF



-Wash

--
Odhiambo Washington Wananchi Online Ltd.,
wash(_at_)wananchi(_dot_)com 1st Flr Loita Hse
Tel: 254 2 313985 Loita Street.,
Fax: 254 2 313922 PO Box 10286, 00100-NAIROBI,KE.

"When in doubt, tell the truth."
                -- Mark Twain

Attachment: pgpoahdYZVbAx.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
  • Trouble with Autoresponder....Please help, Odhiambo Washington <=