<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Spam Filter ISP Forums : Database is Busy</title>
  <link>https://www.logsat.com/spamfilter/forums/</link>
  <description><![CDATA[This is an XML content feed of; Spam Filter ISP Forums : Spam Filter ISP Support : Database is Busy]]></description>
  <pubDate>Wed, 07 Oct 2026 08:27:47 +0000</pubDate>
  <lastBuildDate>Mon, 06 Aug 2007 18:53:33 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.logsat.com/spamfilter/forums/RSS_post_feed.asp?TID=6088</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Spam Filter ISP Forums]]></title>
   <url>https://www.logsat.com/spamfilter/forums/forum_images/web_wiz_forums.png</url>
   <link>https://www.logsat.com/spamfilter/forums/</link>
  </image>
  <item>
   <title><![CDATA[Database is Busy : Thanks for the details. I think...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10638&amp;title=database-is-busy#10638</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=239">atifghaffar</a><br /><strong>Subject:</strong> 6088<br /><strong>Posted:</strong> 06 August 2007 at 6:53pm<br /><br />Thanks for the details. I think this will be quiet helpful.]]>
   </description>
   <pubDate>Mon, 06 Aug 2007 18:53:33 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10638&amp;title=database-is-busy#10638</guid>
  </item> 
  <item>
   <title><![CDATA[Database is Busy : This change only affects users...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10636&amp;title=database-is-busy#10636</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 6088<br /><strong>Posted:</strong> 06 August 2007 at 6:18pm<br /><br />This change only affects users who implemented the "AuthorizedTO" whitelist that specifies the list of valid emails accounts to receive email for.<br><br>In the past, SpamFilter has always forced a disconnect of the remote server if they specified an incorrect address in the RCPT TO command. This prevented the spammers from harvesting valid email addresses, and also greatly reduced spam as if the spammer would try again to send emails to different invalid addresses, after a few retries they would eventually be blocked by the IP cache filter, which cached the bad IP and blocked further connections for a few minutes.<br><br>The downside is that, if there was an email with multiple recipients, and one of them was misspelled or simply did not exist anymore, this would have caused the sender to be disconnected, and cause delivery problems to valid addresses as well.<br><br>If the Bayesian filter is enabled, and the "Receive full emails if recipient not in AuthorizedTO whitelist" option was checked, SpamFilter's behavior is different. In this scenario, if a recipient is not in the "AuthorizedTO" whitelist, SpamFilter will reject the invalid recipient, but will continue to accept further RCPT TO commands for more recipients.<br><br>With this build, we added another option in the SpamFilter.ini file that will achieve this same functionality, even if the Bayesian filter is disabled.<br><br><br>]]>
   </description>
   <pubDate>Mon, 06 Aug 2007 18:18:25 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10636&amp;title=database-is-busy#10636</guid>
  </item> 
  <item>
   <title><![CDATA[Database is Busy : Roberto,Thankyou very much. It...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10627&amp;title=database-is-busy#10627</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=239">atifghaffar</a><br /><strong>Subject:</strong> 6088<br /><strong>Posted:</strong> 06 August 2007 at 3:36am<br /><br />Roberto,<br><br>Thankyou very much. It works great now.<br><br>Can you please expand a bit more on this new feature.<br>ForceDisconnectOnNonAuthorizedTO. How does this differ from before?<br><br>]]>
   </description>
   <pubDate>Mon, 06 Aug 2007 03:36:51 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10627&amp;title=database-is-busy#10627</guid>
  </item> 
  <item>
   <title><![CDATA[Database is Busy : Atif,We&amp;#039;re releasing a new...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10626&amp;title=database-is-busy#10626</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 6088<br /><strong>Posted:</strong> 05 August 2007 at 11:49pm<br /><br />Atif,<br><br>We're releasing a new build right now, please see the release notes below.<br><br><font size="1">// New to VersionNumber = '3.5.4.702';<br>{TODO -cNew : Due to memory leak issues and Access Violations in the PDF library used, by default SpamFilter will not scan for images within PDF files by setting the value SpamPDFMaxPagesToScan=0 in the SpamFilter.ini file. If this setting was enabled in a previous version however, it will remain enabled after upgrading to this version}<br>{TODO -cFix : Due to memory leak issues and Access Violations in the PDF library used, we have been forced to remove the ability to scan keywords within PDF files. We may re-add this functionality at a later time when a more stable PDF library is available}<br>{TODO -cNew : Added new option ForceDisconnectOnNonAuthorizedTO in SpamFilter.ini file to change the default behavior that forces a disconnect when a recipient is specified that is not in the AuthorizedTO list}<br><span style="font-weight: bold; color: rgb(255, 0, 0);">{TODO -cNew : Added new option DoNotDeleteExpiredEmailsFromQuarantine in SpamFilter.ini to prevent SpamFilter to perform the routine cleanup of the quarantine database by deleting old archived emails. Useful if admins want to perform their own cleanup}</span><br style="font-weight: bold; color: rgb(255, 0, 0);"><br></font><br>]]>
   </description>
   <pubDate>Sun, 05 Aug 2007 23:49:22 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10626&amp;title=database-is-busy#10626</guid>
  </item> 
  <item>
   <title><![CDATA[Database is Busy : PS: The db in question which I...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10614&amp;title=database-is-busy#10614</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=239">atifghaffar</a><br /><strong>Subject:</strong> 6088<br /><strong>Posted:</strong> 02 August 2007 at 8:12pm<br /><br />PS: The db in question which I have problems with has 3.5million rows for tblqurantine and thats just 11 days of data. We advertize retention period of 10 days and I add 1 more just for paranoid reasons.<br><br>Even providing access to some 50K rows for a single domain via a web interface is becoming difficult, but I am working over the idea of creating a couple of report&nbsp; tables (incoming and outgoing) per domain on first operation which can then be used in the webinterface for browsing/releasing/deleting.<br><br>perhaps you see now, why I want to keep the qurantine data separate from SFE tables... Ah perhaps the MysqlProxy might be able to do some tricks there. http://dev.mysql.com/downloads/mysql-proxy/<br><br>]]>
   </description>
   <pubDate>Thu, 02 Aug 2007 20:12:50 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10614&amp;title=database-is-busy#10614</guid>
  </item> 
  <item>
   <title><![CDATA[Database is Busy : Roberto,Thanks. I will wait for...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10613&amp;title=database-is-busy#10613</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=239">atifghaffar</a><br /><strong>Subject:</strong> 6088<br /><strong>Posted:</strong> 02 August 2007 at 8:07pm<br /><br />Roberto,<br><br>Thanks. I will wait for the next build rather than hacking in something.<br><br>Another possibility I was looking at was to implement the recently released Alpha MysqlProxy. This will allow me to intercept and rewrite/drop/give_fake_result for the delete from tblqurantine left join.... command.<br><br><br>]]>
   </description>
   <pubDate>Thu, 02 Aug 2007 20:07:00 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10613&amp;title=database-is-busy#10613</guid>
  </item> 
  <item>
   <title><![CDATA[Database is Busy : Atif,Revoking the delete rights...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10611&amp;title=database-is-busy#10611</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 6088<br /><strong>Posted:</strong> 02 August 2007 at 7:59pm<br /><br />Atif,<br><br>Revoking the delete rights on that table "should" work, but has not been tested before. You do have a point in that with a large interval SpamFilter will still perform the delete routines on startup. Your request is very legitimate, and as is also very simple to implement, we'll try to include it in the next build.<br>]]>
   </description>
   <pubDate>Thu, 02 Aug 2007 19:59:43 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10611&amp;title=database-is-busy#10611</guid>
  </item> 
  <item>
   <title><![CDATA[Database is Busy : Would it help if I revoke delete...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10607&amp;title=database-is-busy#10607</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=239">atifghaffar</a><br /><strong>Subject:</strong> 6088<br /><strong>Posted:</strong> 02 August 2007 at 12:30pm<br /><br />Would it help if I revoke delete right of the user that is doing the quarantine?<br><br>]]>
   </description>
   <pubDate>Thu, 02 Aug 2007 12:30:49 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10607&amp;title=database-is-busy#10607</guid>
  </item> 
  <item>
   <title><![CDATA[Database is Busy : Roberto,Is is possible to disable...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10604&amp;title=database-is-busy#10604</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=239">atifghaffar</a><br /><strong>Subject:</strong> 6088<br /><strong>Posted:</strong> 02 August 2007 at 4:09am<br /><br />Roberto,<br><br>Is is possible to disable the deleting of quarantined emails. (Delete expired emails).<br><br>Even if I set the value very high (9999 minutes), SF tries to delete when it restarts.<br><br>Would it help if I set this value to zero and a large number in number of days to store rejected mails.<br><br><br>]]>
   </description>
   <pubDate>Thu, 02 Aug 2007 04:09:17 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10604&amp;title=database-is-busy#10604</guid>
  </item> 
  <item>
   <title><![CDATA[Database is Busy : Hello Simone,We run a couple of...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10539&amp;title=database-is-busy#10539</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=239">atifghaffar</a><br /><strong>Subject:</strong> 6088<br /><strong>Posted:</strong> 25 July 2007 at 6:23pm<br /><br />Hello Simone,<br><br>We run a couple of scripts for doing this.<br>We run these scripts on linux under supervision of daemontools.<br><br>Script 1. sf.expire.old.records.pl<br>#!/usr/bin/perl<br># Find all records older than 11 days and set their exipre to 1<br>BEGIN{<br>&nbsp;&nbsp; use FindBin; unshift @INC, ($FindBin::Bin , "$FindBin::Bin/../lib");<br>}<br>$|++;<br><br><br>use DBI;<br><br>$dbserver="servername";<br>$dbname="dbname";<br>$dbuser="username";<br>$dbpass="password";<br><br><br>my $dsn = "DBI:mysql:database=$dbname;host=$dbserver";<br>$dbh=DBI-&gt;connect_cached($dsn, $dbuser, $dbpass);<br><br>use vars qw($dbh);<br><br><br>$query="update tblQuarantine set Expire=1&nbsp; where&nbsp; Expire=0 and date_add(MsgDate, interval 11 day)&lt;now() limit 100";<br>$sth=$dbh-&gt;prepare($query);<br><br><br>while(true){<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $sth-&gt;execute();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ($sth-&gt;rows &lt; 10) {<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "Less than 10 rows affected. Disconnecting from the database, sleeping for one hour and then exiting\n";<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $dbh-&gt;disconnect or warn $dbh-&gt;errstr;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sleep 3600;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "Rows affected: ", $sth-&gt;rows, "\n";<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sleep(1);<br>}<br>__END__<br><br>Script 2. sf.purge.expired.records.pl<br><br>#!/usr/bin/perl<br># Find all expired rows and delete from both tblquarantine and tblmsgs<br>BEGIN{<br>&nbsp;&nbsp; use FindBin; unshift @INC, ($FindBin::Bin , "$FindBin::Bin/../lib");<br>}<br>$|++;<br><br>use DBI;<br><br>$dbserver="servername";<br>$dbname="dbname";<br>$dbuser="username";<br>$dbpass="password";<br><br><br>my $dsn = "DBI:mysql:database=$dbname;host=$dbserver";<br>$dbh=DBI-&gt;connect_cached($dsn, $dbuser, $dbpass);<br><br>use vars qw($dbh);<br><br><br># be nice to the db. dont select too much at a time<br>$query="select QuarID, MsgID from tblQuarantine where Expire=1 limit 10";<br>$sth=$dbh-&gt;prepare($query);<br><br>$quar_del_sth=$dbh-&gt;prepare("delete from tblQuarantine where QuarID=? limit 1");<br>$msg_del_sth=$dbh-&gt;prepare("delete from tblMsgs where MsgID=? limit 1");<br><br><br>while(true){<br>&nbsp;&nbsp; &nbsp;$sth-&gt;execute();<br><br><br>&nbsp;&nbsp; &nbsp;while (($QuarID, $MsgID)=$sth-&gt;fetchrow_array()){<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; print "Purging QuarID $QuarID, MSGID $MsgID\n";<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $quar_del_sth-&gt;execute($QuarID);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $msg_del_sth-&gt;execute($MsgID);<br>&nbsp;&nbsp; &nbsp;}<br>}<br>__END__<br><br><br>]]>
   </description>
   <pubDate>Wed, 25 Jul 2007 18:23:20 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6088&amp;PID=10539&amp;title=database-is-busy#10539</guid>
  </item> 
 </channel>
</rss>