1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 5.2.3" />
7 <link rel="stylesheet" href="http://defaria.com/blogs/MAPS/styles.css" type="text/css" />
8 <link rel="start" href="http://defaria.com/blogs/MAPS/" title="Home" />
9 <link rel="alternate" type="application/atom+xml" title="Recent Entries" href="http://defaria.com/blogs/MAPS/atom.xml" />
10 <script type="text/javascript" src="http://defaria.com/blogs/MAPS/mt.js"></script>
13 <title>MAPS: July 2007 Archives</title>
16 <link rel="prev" href="http://defaria.com/blogs/MAPS/archives/2006/04/" title="April 2006" />
20 <body id="classic-blog" class="mt-archive-listing mt-datebased-monthly-archive layout-wtt">
22 <div id="container-inner">
26 <div id="header-inner">
27 <div id="header-content">
30 <div id="header-name"><a href="http://defaria.com/blogs/MAPS/" accesskey="1">MAPS</a></div>
31 <div id="header-description"></div>
40 <div id="content-inner">
44 <div id="alpha-inner">
47 <h1 id="page-title" class="archive-title">July 2007 Archives</h1>
54 <div id="entry-651" class="entry-asset asset hentry">
55 <div class="asset-header">
56 <h2 class="asset-name entry-title"><a href="http://defaria.com/blogs/MAPS/archives/2007/07/hit-count-and-l.html" rel="bookmark">Hit Count and Last Hit</a></h2>
57 <div class="asset-meta">
60 <abbr class="published" title="2007-07-13T17:26:08-06:00">July 13, 2007 5:26 PM</abbr>
69 <div class="asset-content entry-content">
71 <div class="asset-body">
72 <p>After having left MAPS pretty much alone for a long time, though I did implement "nuke" which helps nuke whole domains, I finally have implemented new functionality for MAPS. You see over this last year or so I've been getting a lot of spam mostly oriented in which the domain name was wildly varying. So lots of mail loops were happening. Whacking whole domains became a favorite past time of mine and hence the "nuke" script (not an official part of MAPS mind you). Still it seemed like a losing battle.</p>
74 <p>Then I got to thinking - something I've been thinking for a while - how effective are all of my null list entries, now numbering in the 17K area! I thought that I could easily add some fields to the list table, namely a hit_count and a last_hit field, and then during scrubbing time see if these null list entries were at all effective, and if not then to automatically remove them.</p>
76 <p>So I added the fields and changed MAPS such that it records the hits and when the last hit happened. Then in mapsscrub check to see if last_hit is older than the number of days the user is keeping history. If it's 0 then simply remove that entry. Note this happens only for the null list. White list and black list are to be managed by the user. You purposely add somebody to the white or black list for a reason. Do we want to auto age these off? Probably not.</p>
78 <p>If the hit count is not 0 then how do we age off these apparently no longer effective null list entries? Well the though was to age them by subtracting 1 from the hit count. Thus if we had a null list entry that was fairly active for a little while and say accumulated a hit_count of 10 but then was largely un-hit, the hit_count would go 9, 8, 7, 6, 5... down to 0 and then the entry would be removed. I might want to change this as some null list entries are getting hit_counts in the thousands now! Assuming the user has a 30 day history then perhaps after 30 days of inactivity I should age any null list entry off the list in 7 days? Note that any activity in those 30 days would immediately reset the clock for at least the next 30 days (assuming a history of 30 days).</p>
80 <p>With this in place I decided to change the mail loop procedure to auto add the sender to the null list. Previously I was whacking off the whole domain - here we are just auto adding the individual sending address. But it's automatically added, automatically tracked for effectiveness and automatically aged off. Beside I still have the option of perusing the top returning domains and can whack whole domains still. Now any hits on any users in the domain will continue to insure that that domain null list entry will remain and not automatically age away...</p>
86 <div class="asset-footer"></div>
92 <div class="content-nav">
93 <a href="http://defaria.com/blogs/MAPS/archives/2006/04/">« April 2006</a> |
94 <a href="http://defaria.com/blogs/MAPS/">Main Index</a> |
95 <a href="http://defaria.com/blogs/MAPS/archives.html">Archives</a>
105 <div id="beta-inner">
109 <div class="widget-archive widget-archive-category widget">
110 <h3 class="widget-header">Categories</h3>
111 <div class="widget-content">
119 <div class="widget-archive-monthly widget-archive widget">
120 <h3 class="widget-header">Monthly <a href="http://defaria.com/blogs/MAPS/archives.html">Archives</a></h3>
121 <div class="widget-content">
124 <li><a href="http://defaria.com/blogs/MAPS/archives/2007/07/">July 2007 (1)</a></li>
128 <li><a href="http://defaria.com/blogs/MAPS/archives/2006/04/">April 2006 (1)</a></li>
132 <li><a href="http://defaria.com/blogs/MAPS/archives/2005/11/">November 2005 (2)</a></li>
136 <li><a href="http://defaria.com/blogs/MAPS/archives/2004/03/">March 2004 (1)</a></li>
140 <li><a href="http://defaria.com/blogs/MAPS/archives/2004/02/">February 2004 (3)</a></li>
144 <li><a href="http://defaria.com/blogs/MAPS/archives/2003/11/">November 2003 (3)</a></li>
148 <li><a href="http://defaria.com/blogs/MAPS/archives/2003/10/">October 2003 (9)</a></li>
158 <div class="widget-pages widget">
159 <h3 class="widget-header">Pages</h3>
160 <div class="widget-content">
168 <div class="widget-syndication widget">
169 <div class="widget-content">
171 <li><img src="http://defaria.com/mt/mt-static/images/status_icons/feed.gif" alt="Subscribe to feed" width="9" height="9" /> <a href="http://defaria.com/blogs/MAPS/atom.xml">Subscribe to this blog's feed</a></li>
176 <div class="widget-powered widget">
177 <div class="widget-content">
178 <a href="http://www.movabletype.com/"><img src="http://defaria.com/mt/mt-static/images/bug-pbmt-white.png" alt="Powered by Movable Type 5.2.3" width="120" height="75" /></a>
191 <div id="gamma-inner">
192 <div class="widget-search widget">
193 <h3 class="widget-header">Search</h3>
194 <div class="widget-content">
195 <form method="get" action="http://defaria.com/mt/mt-search.cgi">
196 <input type="text" id="search" class="ti" name="search" value="" />
198 <input type="hidden" name="IncludeBlogs" value="3" />
200 <input type="hidden" name="limit" value="20" />
201 <input type="submit" accesskey="4" value="Search" />
206 <div class="widget-about-this-page widget">
207 <h3 class="widget-header">
215 <div class="widget-content">
221 <p class="first">This page is an archive of entries from <strong>July 2007</strong> listed from newest to oldest.</p>
223 <p><a href="http://defaria.com/blogs/MAPS/archives/2006/04/">April 2006</a> is the previous archive.</p>
228 <p>Find recent content on the <a href="http://defaria.com/blogs/MAPS/">main index</a> or look in the <a href="http://defaria.com/blogs/MAPS/archives.html">archives</a> to find all content.</p>
245 <div id="footer-inner">
246 <div id="footer-content">
247 <div class="widget-powered widget">
248 <div class="widget-content">
249 Powered by <a href="http://www.movabletype.org/">Movable Type</a>