Paul K. Dickson
Systems Administrator
Frederick County Government, IIT
[email protected]
301-600-2399/x12399



------ Forwarded Message
From: "Paul K. Dickson" <[email protected]>
Date: Mon, 06 Apr 2009 11:15:06 -0400
To: For Users of ASSP <[email protected]>
Conversation: Error/spam corpus correction command.
Subject: Error/spam corpus correction command.

All:

I have users who frequently submit mail already marked as spam to the spam
report email interface.  Until now I haven¹t worried too much about it.
Over time it has caused the spam error reports to out weigh the notspam
error reports.  The numbers were something like 2500+ in
/usr/local/assp/errors/spam and 450 in notspam.  This caused the rebuild
norm to exceed 1.5.  I added the following command to my rebuild script
which parses all those emails for the subject that I tag them with, then
deletes them.  This make sure error reports of spam missed are ONLY items
that were really missed.  Here is the command for anyone who wants it and
runs unix or linux.

cd /usr/local/assp/errors/spam
grep  -l -Z "Subject: \[SPAM\]" ./* | xargs -0 rm

Where "Subject: \[SPAM\]" matches any email that starts with the subject
³Subject: [SPAM]².  Obviously you¹ll need to adjust to match whatever you
use in your subject line.  If you don¹t use anything, * shrug *.. Not sure
what to tell ya!  Maybe you¹re lucky enough to have end users who actually
pay attention to the emails that state how the spam filter actually works.

Hope this helps.

-Paul


Paul K. Dickson
Systems Administrator
Frederick County Government, IIT
[email protected]
301-600-2399/x12399



------ End of Forwarded Message

------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to