<?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 : According to Domains and From Emails filtering</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 : According to Domains and From Emails filtering]]></description>
  <pubDate>Wed, 10 Jun 2026 20:58:42 +0000</pubDate>
  <lastBuildDate>Fri, 30 Apr 2004 23:23:00 +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=3506</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[According to Domains and From Emails filtering : Oleg, Can you email me the batch...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=3506&amp;PID=3521&amp;title=according-to-domains-and-from-emails-filtering#3521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=44">Dan B</a><br /><strong>Subject:</strong> 3506<br /><strong>Posted:</strong> 30 April 2004 at 11:23pm<br /><br /><P><STRONG><FONT size=2>Oleg,</FONT></STRONG></P><P><STRONG><FONT size=2>Can you email me the batch file and the spam.dat files?&nbsp; I would like to see what our large log files will show.&nbsp; You can email me at funnyman____ at yahoo dot com&nbsp; those are (4 under scores)</FONT></STRONG></P><P><STRONG><FONT size=2>Thanks,</FONT></STRONG></P><P><STRONG><FONT size=2>Dan Blickensderfer</FONT></STRONG></P>]]>
   </description>
   <pubDate>Fri, 30 Apr 2004 23:23:00 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=3506&amp;PID=3521&amp;title=according-to-domains-and-from-emails-filtering#3521</guid>
  </item> 
  <item>
   <title><![CDATA[According to Domains and From Emails filtering : Hmm... looks like forum deleted...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=3506&amp;PID=3507&amp;title=according-to-domains-and-from-emails-filtering#3507</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 3506<br /><strong>Posted:</strong> 29 April 2004 at 3:21am<br /><br />Hmm... looks like forum deleted all my single line breaks...<P CLASS="ASPForums"></P>Corrections to previous message:<P CLASS="ASPForums"></P>spam.dat has one entry per one line.<P CLASS="ASPForums"></P>batch file needs correction too. It needs to insert line breaks instead of unneeded spaces.<P CLASS="ASPForums"></P>if you interested, don't hesitate to contact me by email.]]>
   </description>
   <pubDate>Thu, 29 Apr 2004 03:21:00 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=3506&amp;PID=3507&amp;title=according-to-domains-and-from-emails-filtering#3507</guid>
  </item> 
  <item>
   <title><![CDATA[According to Domains and From Emails filtering : As I noticed before, there is...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=3506&amp;PID=3506&amp;title=according-to-domains-and-from-emails-filtering#3506</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 3506<br /><strong>Posted:</strong> 29 April 2004 at 3:04am<br /><br />As I noticed before, there is no ability in SpamFilter to filter connections by their domain name.So I made batch file for Windows that scans SpamFilter's logfile and refreshes IPs database.This batch uses some utilities from <A HREF="http://unxutils.sourceforge.net/." CLASS="ASPForums" TITLE="WARNING: URL created by poster. ">http://unxutils.sourceforge.net/.</A> (sed.exe, uniq.exe, cut.exe)It requires file named spam.dat, that contains something like:======\.ppp\.clientdynam\.dial\.client\.pool\.ip\-ip&#091;0-9&#093;dslcable======As you noticed, it uses Regular Expressions.So you can improve this file for your needs.And here is batch itself:===========echo.>database.txtrem take all the symbol names to be blacklisted by their IPfor /f "tokens=1,* delims= " %%a in (spam.dat) do sed -n "/%%a/p" %1>>database.txtdatabase.txtrem take all the symbol names to be blacklisted by their IPfor /f "tokens=1,* delims= " %%a in (spam.dat) do sed -n "/%%a/p" %1>>database.txtdatabase.txtrem take all the symbol names to be blacklisted by their IPfor /f "tokens=1,* delims= " %%a in (spam.dat) do sed -n "/%%a/p" %1>>database.txt>database.txt>database.txtdatabase.txtdatabase.txt<P CLASS="ASPForums"></P>rem select only DNS resolve stringssed -n "s/.*Resolving \(.*\)/\1/p" database.txt>1.txt1.txt1.txt<P CLASS="ASPForums"></P>rem remove repeating stringssort 1.txt>2.txtuniq 2.txt>3.txt2.txtuniq 2.txt>3.txt2.txtuniq 2.txt>3.txt3.txt3.txt<P CLASS="ASPForums"></P>rem take only IPs without their DNS namescut -d- -f 1 3.txt>4a.txtcut -d- -f 2- 3.txt>4b.txt4a.txtcut -d- -f 2- 3.txt>4b.txt4a.txtcut -d- -f 2- 3.txt>4b.txt4b.txt4b.txt<P CLASS="ASPForums"></P>rem you can comment next line and replace it by copy 4a.txt 5.txtsed "s/\.&#091;0-9&#093;* /.0/" 4a.txt>5.txtrem previous line replaces last group in IP address by 05.txtrem previous line replaces last group in IP address by 05.txtrem previous line replaces last group in IP address by 0<P CLASS="ASPForums"></P>rem add new IPs to existing basecat 5.txt BlacklistedIPs >6.txt6.txt6.txt<P CLASS="ASPForums"></P>rem remove dupessort 6.txt>7.txtuniq 7.txt>8.txt7.txtuniq 7.txt>8.txt7.txtuniq 7.txt>8.txt8.txt8.txt<P CLASS="ASPForums"></P>rem form new base that can be copied to location, where SpamFilter set to.ren 8.txt BlacklistedIPs=========<P CLASS="ASPForums"></P>That's it.I think it is easier to make copuple of white addresses instead of receiving tons of junk email to analyse its contents by text filters.]]>
   </description>
   <pubDate>Thu, 29 Apr 2004 03:04:00 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=3506&amp;PID=3506&amp;title=according-to-domains-and-from-emails-filtering#3506</guid>
  </item> 
 </channel>
</rss>