On 6 Sep 2004 at 12:37, Mike Campbell wrote:

> Anyone have a good way to keep a running count of how many email 
> messages have been flagged as spam by spamassassin?

I just add a line like this:

md_graphdefang_log('spam', $hits, $RelayAddr);

Then, you can use various tools that process the sendmail log to do 
whatever you want.

For "high value" SPAM that I don't pass to the final recipient, the log 
line looks like:

md_graphdefang_log('SPAM', $hits, $RelayAddr);

This allows me to do a case-insensitive log search for all SPAM, or a 
case-sensitive one for delivered/dropped.


--
Jeff Rife        |  
SPAM bait:       | "Resistance...is *futile*" 
[EMAIL PROTECTED] |  
[EMAIL PROTECTED]     |         -- Data, "Star Trek: First Contact" 


_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to