<?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 : ToDomain and FromDomain in the Qurantine</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 : ToDomain and FromDomain in the Qurantine]]></description>
  <pubDate>Sun, 12 Jul 2026 20:42:49 +0000</pubDate>
  <lastBuildDate>Fri, 30 Jun 2006 04:12:57 +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=5659</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[ToDomain and FromDomain in the Qurantine : Hi,Silly me.I never did &amp;#034;use...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8426&amp;title=todomain-and-fromdomain-in-the-qurantine#8426</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=247">ImInAfrica</a><br /><strong>Subject:</strong> 5659<br /><strong>Posted:</strong> 30 June 2006 at 4:12am<br /><br />Hi,<br>Silly me.<br>I never did "use spamfilter;"<br><br>seems to be working ok now.<br>Thanks.<br><br>Amir<br>]]>
   </description>
   <pubDate>Fri, 30 Jun 2006 04:12:57 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8426&amp;title=todomain-and-fromdomain-in-the-qurantine#8426</guid>
  </item> 
  <item>
   <title><![CDATA[ToDomain and FromDomain in the Qurantine : Amir,Can you access the MySQL&amp;#039;s...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8421&amp;title=todomain-and-fromdomain-in-the-qurantine#8421</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> 5659<br /><strong>Posted:</strong> 29 June 2006 at 11:00pm<br /><br />Amir,<br><br>Can you access the MySQL's command line interface (use the "mysql" command from a DOS/terminal), and type:<br><br>use SpamFilter;<br><br>desc tblQuarantine;<br><br>show Triggers FROM SpamFilter \G;<br><br>and let us know what the output is so we can see the table and trigger structures?<br>]]>
   </description>
   <pubDate>Thu, 29 Jun 2006 23:00:33 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8421&amp;title=todomain-and-fromdomain-in-the-qurantine#8421</guid>
  </item> 
  <item>
   <title><![CDATA[ToDomain and FromDomain in the Qurantine : Hi,I have tried to run the 3 sql...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8410&amp;title=todomain-and-fromdomain-in-the-qurantine#8410</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=247">ImInAfrica</a><br /><strong>Subject:</strong> 5659<br /><strong>Posted:</strong> 29 June 2006 at 2:24pm<br /><br />Hi,<br>I have tried to run the 3 sql statements in Roberto's post.<br>the first 2 run fine and create the fields and the indexes.<br>The third command executes correctly, but then i get this error in the log:<br>06/29/06 15:56:16:656 -- (7808) Error occurred during TAddToQuarantineThread when accessing the quarantine database: &#091;MySQL&#093;&#091;ODBC 3.51 Driver&#093;&#091;mysqld-5.0.22-community-nt&#093;Unknown column '@' in 'field list' ( 83 84 85 86 86a 86b 86c 87 88 89 90 91 92 93 94)<br><br>Can anyone shed some light on this?<br><br>Thanks<br>Amir <br>]]>
   </description>
   <pubDate>Thu, 29 Jun 2006 14:24:43 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8410&amp;title=todomain-and-fromdomain-in-the-qurantine#8410</guid>
  </item> 
  <item>
   <title><![CDATA[ToDomain and FromDomain in the Qurantine : Thankyou so much. It works great. ...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8252&amp;title=todomain-and-fromdomain-in-the-qurantine#8252</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> 5659<br /><strong>Posted:</strong> 14 June 2006 at 7:45pm<br /><br />Thankyou so much. It works great.]]>
   </description>
   <pubDate>Wed, 14 Jun 2006 19:45:39 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8252&amp;title=todomain-and-fromdomain-in-the-qurantine#8252</guid>
  </item> 
  <item>
   <title><![CDATA[ToDomain and FromDomain in the Qurantine : mmm, nice.    ]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8232&amp;title=todomain-and-fromdomain-in-the-qurantine#8232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=150">sgeorge</a><br /><strong>Subject:</strong> 5659<br /><strong>Posted:</strong> 13 June 2006 at 4:51pm<br /><br />mmm, nice.&nbsp;  <img src="https://www.logsat.com/spamfilter/forums/smileys/smiley16.gif" border="0">]]>
   </description>
   <pubDate>Tue, 13 Jun 2006 16:51:36 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8232&amp;title=todomain-and-fromdomain-in-the-qurantine#8232</guid>
  </item> 
  <item>
   <title><![CDATA[ToDomain and FromDomain in the Qurantine : Atif,Another solution can be implemented...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8231&amp;title=todomain-and-fromdomain-in-the-qurantine#8231</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> 5659<br /><strong>Posted:</strong> 13 June 2006 at 4:33pm<br /><br />Atif,<br><br>Another solution can be implemented using a database trigger that will updated those fields for you on the fly each time a new record is added.<br><br>Please execute the following script on MySQL (We tested it using Query Browser v1.1). It will (1) add the two extra fields to the database, (2) create indexes for them, and (3) create a trigger that will automatically populate those fields every time a new record is entered.<br><br><br><br>ALTER TABLE `spamfilter`.`tblquarantine` ADD COLUMN `ToDomain` VARCHAR(100) AFTER `ServerID`,<br>&nbsp; ADD COLUMN `FromDomain` VARCHAR(100) AFTER `ToDomain`;<br>&nbsp;<br>ALTER TABLE `spamfilter`.`tblquarantine` MODIFY COLUMN `ToDomain` VARCHAR(100),<br>&nbsp; MODIFY COLUMN `FromDomain` VARCHAR(100),<br>&nbsp; ADD INDEX `ToDomain`(`ToDomain`),<br>&nbsp; ADD INDEX `FromDomain`(`FromDomain`);<br>&nbsp;<br>DROP TRIGGER trAddExtraData;<br>DELIMITER //<br>CREATE TRIGGER trAddExtraData<br>BEFORE INSERT ON tblQuarantine<br>&nbsp; FOR EACH ROW BEGIN<br>&nbsp;&nbsp;&nbsp; SET&nbsp; NEW.ToDomain = MID(NEW.EmailTo, POSITION("@" IN NEW.EmailTO)+1, LENGTH(NEW.EMailTo));<br>&nbsp;&nbsp;&nbsp; SET&nbsp; NEW.FromDomain = MID(NEW.EmailFrom, POSITION("@" IN NEW.EmailFrom)+1, LENGTH(NEW.EMailFrom));<br>&nbsp; END;<br>//<br>DELIMITER;<br><br><br><br>&nbsp;]]>
   </description>
   <pubDate>Tue, 13 Jun 2006 16:33:13 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8231&amp;title=todomain-and-fromdomain-in-the-qurantine#8231</guid>
  </item> 
  <item>
   <title><![CDATA[ToDomain and FromDomain in the Qurantine : Hi Atif,It sounds like what would...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8224&amp;title=todomain-and-fromdomain-in-the-qurantine#8224</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=150">sgeorge</a><br /><strong>Subject:</strong> 5659<br /><strong>Posted:</strong> 13 June 2006 at 12:32pm<br /><br />Hi Atif,<br><br>It sounds like what would be ideal for you would be to have an indexed view of your tblQuarantine table - one where whole domain names could be derived as new columns based on the EmailFrom and EmailTo columns, but indexed, so that the domains aren't derived every time you pull up the view.<br><br>This seems easy in SQL 2000:<br><a href="http://www.sqlteam.com/item.asp?ItemID=1015" target="_blank">http://www.sqlteam.com/item.asp?ItemID=1015</a><br><br>But it seems that for MySql, like you said, doing a full-text search is the way to go.&nbsp; I found other people out there who were frustrated by MySql interpreting the hyphen character as a word-seperator, and hence, not interpreting your seach for some-domain.com as a single word.<br><br>But I happened upon this comment responding to someone who was trying to search for "kk-4835":<br><a href="http://archives.neohapsis.com/archives/mysql/2003-q4/2803.html" target="_blank"> http://archives.neohapsis.com/archives/mysql/2003-q4/2803.ht ml</a><br><table width="99%"><tr><td><pre class="BBcode"><br><p><font face="arial" size="2">The only way to search for kk-4835 is to do the search<br>in Boolean mode and put things in quotes -&gt; “kk-4835”<br>So your query would look like this:<br></font></p><span ="quotelev1"><font face="arial" size="2">&gt; SELECT * FROM ms_items</font></span><font face="arial" size="2"><br><span ="quotelev1">&gt; where MATCH (it_mnfgID, it_title, it_descrip)</span><br><span ="quotelev1">&gt; AGAINST ('”kk-4835”' IN BOOLEAN MODE )</pre></td></tr></table></span></font><br><br>Good luck!<br><br>Stephen<br>]]>
   </description>
   <pubDate>Tue, 13 Jun 2006 12:32:29 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8224&amp;title=todomain-and-fromdomain-in-the-qurantine#8224</guid>
  </item> 
  <item>
   <title><![CDATA[ToDomain and FromDomain in the Qurantine : Hi all,I have made a feature request...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8210&amp;title=todomain-and-fromdomain-in-the-qurantine#8210</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> 5659<br /><strong>Posted:</strong> 12 June 2006 at 1:01pm<br /><br />Hi all,<br><br>I have made a feature request to add FromDomain and ToDomain in the Quarantine database.<br><br>This makes it easy to make reports based on Domain name and for ISPs to let their customer manage all the Domain's blocked email.<br><br>The Quarantine database I have is quiet large to search with substrings etc.<br><br>I also tried the full-text index on mysql but the full text search syntax does not like some characters used in the domain names: such as "-"<br><br>match (EmailFrom) against "some-domain.com" <br>would match everything where there is "some", ".com" and no "-domain".<br><br>I have added the ToDomain and&nbsp; FromDomain fields and Indexex in the tblQuarantine and am now periodically filling them up with a perl script.<br><br>Anyone knows how to achieve this without having the ToDomain, FromDomain fields?<br><br><br><br>]]>
   </description>
   <pubDate>Mon, 12 Jun 2006 13:01:25 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5659&amp;PID=8210&amp;title=todomain-and-fromdomain-in-the-qurantine#8210</guid>
  </item> 
 </channel>
</rss>