Print Page | Close Window

Cool MS SQL Mod!

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: http://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5530
Printed Date: 19 November 2018 at 3:31pm


Topic: Cool MS SQL Mod!
Posted By: TechSquared
Subject: Cool MS SQL Mod!
Date Posted: 01 March 2006 at 9:21am

One of the problems I faced while putting this in place for multiple domains is the issue of all the non-existent emails addresses that were getting SPAM.  I talked to a MS SQL expert and designed a trigger that does the following.

When the SpamFilter software creates an entry in the database, the trigger fires (on any insert) and queries the Login table.  If the incoming email is not in the Login table (which means they are checking the quarantine) the record is updated as if the user looked at the piece of mail through the web interface and deleted it.  The next purge that SpamFilter runs clears the entry from the database.

This keeps me from having a huge database of emails that are held (in my case 10 days) for email addresses that do not exist.

I would be interested in thoughts on how this affects the Bayesian Analysis.

Please let me know if you are interested in this Code.




Replies:
Posted By: LogSat
Date Posted: 01 March 2006 at 4:28pm
That's one we're "envious" we did not think about ourselves! 

Excellent idea!

There won't be any effect on the Bayesian filter, as the database is not used by the process that "learns" new incoming emails.


-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP



Print Page | Close Window