procmail
[Top] [All Lists]

Re: [Procmail] Autoresponder Question

1997-01-19 20:21:29
Hi Keith Middlekauff!  I'm a UNIX administrator and I like to fight spam!
Here is an entry of the .procmailrc file. This seems to work
great! My question is: Can I modify this rule to not only send
the reply to the requester but also send an e-mail to the owner
of the responder that would let them know who just requested
info from the autoresponder.

        Yes you can, and the solution is easier than you think.

*!^X-Loop: compound(_at_)bizopsmall(_dot_)com
|(formail -r -A "Precedence: junk" \
-I"From: Auto Reply from bizopsmall <compound(_at_)bizopsmall(_dot_)com>" \
-I"Subject: Information Request" \

-I"BCC: compound(_at_)bizopsmail(_dot_)com" \
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-A "X-Loop: compound(_at_)bizopsmall(_dot_)com";\
cat $FILEDIR/bizops/compound )|$SENDMAIL -t 
-fcompound(_at_)bizopsmall(_dot_)com

        And the mail will be BCCed to you.  I use this feature when 
rejecting e-mail from spammers.  They get pissed thinking I didn't get 
their e-mail, but in actuality I did and go and post the headers to 
SPAM-L. :-)

        Regards,

-- 
<Doug Muth>--<dmuth+3782501191997220654837532513968150(_at_)ot(_dot_)com> - 
Spam me and die!
Think your homepage sucks?  You haven't seen http://www.ot.com/~dmuth yet!!
Anti-virus software and utils: | The Transformers fanfiction:|"Est Sularus|
http://www.ot.com/~dmuth/virus | http://www.ot.com/~dmuth/tf |oth Mithas!"|
-=-=-=-=- Send a spammer to the slammer! * http://www.vix.com/spam -=-=-=-=

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