procmail
[Top] [All Lists]

Question with weighting

1997-07-24 13:15:00
I am in charge of moderating my site's UCE filter.  To do this, I would
like to automatically detect "spam" complaints which are forwarded to
either noc(_at_)harborcom(_dot_)net or abuse(_at_)harborcom(_dot_)net -- but 
not any responses
that I might send (cc'd as well to noc(_at_)harborcom(_dot_)net or
abuse(_at_)harborcom(_dot_)net) in acknowledgement of the complaint.

I've been trying to accomplish this with the following recipe excerpt, but
it hasn't been working (it is always skipped): 

PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=$HOME/mail
LOGFILE=$HOME/mail/from
INCLUDERC=$HOME/.rc-p/shitlist
:0 Wh: msgid.lock
|formail -D 16384 msgid.cache

:0 B
* -150^0
* 100^0         ^TOabuse
* 100^0         ^TOnoc
* 50^0          ^Subject:.*spam
* 50^0          spam
* -300^0        ^From.*mfisher
        {
        :0c:
        newspam

        :0:
        incoming/noc
        }

Also, would there be a trivial way to automatically start a program that I
have that checks the forwarded headers for the spammer addresses upon
being caught by this recipe?

Mike
---
"I swear - by my life and by my love of it - that I will never live
for the sake of another man, nor ask another man to live for mine."
 --Ayn Rand, _Atlas Shrugged_


<Prev in Thread] Current Thread [Next in Thread>
  • Question with weighting, Mike Fisher <=