procmail
[Top] [All Lists]

newbie - bounce message to bad person

2000-07-19 16:36:22
Hello all.  This is my first posting to your list, so your kindness will be
appreciated.
Config:  Redhat 6.1, sendmail MTA, procmail MDA

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 (it autoresponds to EVERYONE, but does not
intercept mail from gm@aohell.com).

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 curly.ecqual.net. Thanks!"; +AFw-
echo "This is an automated response."; +AFw-
echo " "; +AFw-
echo "Anyway, 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>
  • newbie - bounce message to bad person, Mike O. <=