Print Page | Close Window

Forwarding from Quarantine fails

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6108
Printed Date: 09 November 2025 at 7:14pm


Topic: Forwarding from Quarantine fails
Posted By: strider77
Subject: Forwarding from Quarantine fails
Date Posted: 18 June 2007 at 5:42pm
 
Exception occurred during TDeliverQuarantineThread.Execute: Timeout expired 1 2 3 4 5 6 7 36 37 38
 
Spamfilter 3.5.3.678 Enterprise
SQL Server - the web interface flips the deliver flag 1 successfully, however Spamfilter reports the above error and the email is not succesfully sent. I can confirm that the email is still in the DB. New spam email is succesfully being put into the quarantine DB, but it fails when trying to deliver it.
 
Note, this is a new install of spamfilter but it's using an existing spamfilter SQL DB. The Enterprise upgrade seemed to work fine, the extra tables were created successfully and are being utilized.
 
Any ideas?



Replies:
Posted By: corymckee
Date Posted: 18 June 2007 at 6:06pm
I am having the same problem. New install and new SQL DB. My users are frantic.


Posted By: strider77
Date Posted: 18 June 2007 at 6:19pm
I may have solution, I bumped the "MiscSQLTimeout" setting in the spamfilter.ini from 1 to 10, restarted the service and now things appear to be working just fine.
 
 


Posted By: LogSat
Date Posted: 18 June 2007 at 6:33pm
The Exception error *may* not be related to the emails not being sent.

SpamFilter checks the quarantine database every 5 seconds to see if there are any emails to be delivered. The query that makes this check has a very "aggressive" short timeout, as we do not want to waste too many resources. If it timeouts once, it will be executed again after 5 seconds, so it's usually not a big deal. Often you'll see dozens of those timeouts thrughout the day. Unless you see hundreds or thousands, it's nothing to worry about.
 
Going back to the original problem about not being able to deliver the emails, to see what is happening we'd need a copy of SpamFilter's activity logfile, possibly trimmed to include a few minutes before and after the time the quarantine emails was being delivered. Please also include the from/to email addresses involved so we may locate them in the logs.

Increasing the "MiscSQLTimeout" setting will indeed increase the timeout for the query that checks the quarantine for any pending emails to be delivered, but again, unless the error appears continuosly, there should not be a need to increase it.
 

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

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

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


Posted By: corymckee
Date Posted: 18 June 2007 at 7:22pm
Thank you. We changes this setting and messages started to be delivered again.


Posted By: corymckee
Date Posted: 19 June 2007 at 3:31pm

We had to up the time again so I think we may need troubleshoot further. I am adding memory to my MSSQL server as it a little low. I will test the quarantine issue once it has been running for a while and I will get a copy of the log and PM it to you.

 

Thank you




Print Page | Close Window