procmail
[Top] [All Lists]

autoresponse to specific sender

2000-07-21 06:37:32
I perhaps mis-worded my previous message, thus no response, so I would like
to try again.

My Config:  Redhat 6.1, sendmail MTA, procmail MDA

In .procmailrc, I have an autoresponder working and would like to keep it
such that it
responds to anyone except gm@aohell.com.

For gm, I would like to send a special message and dump his email to Unix's
trash can.  I have the following recipe, but it autoresponds to EVERYONE
with only the top section meant for gm@aohell.com  (i.e., the second section
doesn't fire off my normal autoresponse.)

What have I done wrong?  TIA

-------------------------------------------------------------------------
:0
* !^FROMgm@aohell.com
* !^FROM_DAEMON
* !^FROM_MAILER
* !^X-Loop: me@mydomain.net
| (formail -r -A"Precendence: junk" +AFw-
-A"X-Loop: me@mydomain.net" ; +AFw-
echo "Hey, GM!  I just got your message sent to me."; +AFw-
echo "This is an automated response."; +AFw-
echo "I'll never see your message "; +AFw-
echo "So, GO AWAY...... GET THE PICTURE??") | sendmail -t

:0 h c
* !^FROM_DAEMON
* !^FROM_MAILER
* !^X-Loop: me@mydomain.net
| (formail -r -A"Precedence: junk" +AFw-
-A"X-Loop: me@mydomain.net" ; +AFw-
echo "Hey!  I just got your message sent to me. Thanks!"; +AFw-
echo "This is an automated response."; +AFw-
echo " "; +AFw-
echo "I'll write back to you as soon as I can (if needed).
Cheers!") | sendmail -t

---------------------------------------------------------------------------

No fish were harmed during the composition of this email.
Mike O.
station15@zeppo.ecqual.net



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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