Different Count between tblMsgs and TblQuarantine |
Post Reply
|
| Author | |
jerbo128
Senior Member
Joined: 06 March 2006 Status: Offline Points: 178 |
Post Options
Thanks(0)
Quote Reply
Topic: Different Count between tblMsgs and TblQuarantinePosted: 04 November 2007 at 9:21pm |
|
When I look at the count of tblMsgs and tblQuarantine, their count differs. tblquarantine - 528KtblMsgs - 410K
I delete expired emails and check for orphans every 5 minutes with these queries:
DELETE FROM tblQuarantine WHERE tblQuarantine.Expire <> 0
DELETE tblMsgs FROM tblMsgs LEFT JOIN tblQuarantine
ON tblMsgs.MsgID = tblQuarantine.MsgID WHERE (tblQuarantine.MsgID IS NULL) DELETE tblQuarantine FROM tblQuarantine LEFT JOIN tblMsgs
ON tblQuarantine.MsgID = tblMsgs.MsgID WHERE (tblMsgs.MsgID IS NULL) Anybody - Any ideas as to why they could be so different? What else can a guy do to correct this?
Running SFE .728 with MSSQL
Thanks
jerbo128
|
|
![]() |
|
LogSat
Admin Group
Joined: 25 January 2005 Location: United States Status: Offline Points: 4106 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 November 2007 at 5:36pm |
|
jerbo128,
If an email arrives with multiple recipients and is quarantined, SpamFilter will only store one record for the actual contents of the email in the tblMsgs table. Then individual records are added for every recipient in the tblQuarantine table containing just the specific recipient data, and all these records point to the one single record containing the binary email text. It's thus normal that there are more entries in the tblQuarantine. |
|
![]() |
|
jerbo128
Senior Member
Joined: 06 March 2006 Status: Offline Points: 178 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 November 2007 at 7:05pm |
|
Kudos to a great product!
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.320 seconds.


Topic Options
Post Options
Thanks(0)


