{"id":18,"date":"2007-03-02T18:49:40","date_gmt":"2007-03-02T23:49:40","guid":{"rendered":"http:\/\/www.opticality.com\/blog\/?p=18"},"modified":"2007-03-02T18:49:40","modified_gmt":"2007-03-02T23:49:40","slug":"spam-is-back-under-control","status":"publish","type":"post","link":"https:\/\/opticality.com\/blog\/2007\/03\/02\/spam-is-back-under-control\/","title":{"rendered":"SPAM is back under control"},"content":{"rendered":"<p>I know, what a silly thing to say, and in public at that!<\/p>\n<p>Previously, I <a href=\"https:\/\/www.opticality.com\/blog\/?p=16\" title=\"SPAM Problem is now Solved\">posted<\/a> on my woes in having old SpamBayes filtering starting to fail and new procmail rules that I <em>foolishly<\/em> put in myself causing me to suffer from spam more than usual. I am happy to report that it&#8217;s back under control, mostly thanks to the fact that I&#8217;ve finally spent some time studying other people&#8217;s procmail rules, and learning a bunch of techniques that I was previously unaware of. The truth is that I was a complete <strong>luddite<\/strong> in terms of using procmail in a completely <em>vanilla<\/em> fashion.<\/p>\n<p>My biggest single breakthrough was in realizing that I could run any set of tests against any arbirtrary file, rather than having to wait for an email to come in and see whether my new test worked or not. Doh! So now, when an email comes in that I believe I can trap in the future, I copy it out, write some rules, run procmail against that file until I&#8217;m happy, and insert the rule into my <em>real<\/em> procmail file. Cool!<\/p>\n<p>Paying appropirate homage to the ones I learned from, here are two sites that got my juices flowing:<\/p>\n<ul>\n<li><a href=\"http:\/\/handsonhowto.com\/pmail200.html\" title=\"Hands on how to for procmail filtering\" target=\"_blank\">handsonhowto.com<\/a> (a number of different pages on this site are very helpful!<\/li>\n<li><a href=\"http:\/\/piology.org\/.procmailrc.html\" title=\"Pi's procmail filtering examples\" target=\"_blank\">piology.org<\/a><\/li>\n<\/ul>\n<p>The first site above concludes by saying that you don&#8217;t need to know what he just taught you, as you can install <a href=\"http:\/\/www.spambouncer.org\/\" title=\"SpamBouncer procmail system\" target=\"_blank\">SpamBouncer<\/a> instead. I installed it, and I have to say it&#8217;s a mind-bogglingly sophisticated system. I can&#8217;t believe how much work has gone into this. That said, while I learned a lot there too, and will probably go back again and again to some of the recipes and techniques in there, I am not going to &#8220;put it into production&#8221;.<\/p>\n<p>Why? Essentially three reasons:<\/p>\n<ol>\n<li>It&#8217;s incredibly slow in processing messages (understandably so!) as it goes through more tests than you can shake a stick at (and possibly connects to outside servers as well, but I&#8217;m not 100% sure about that yet).<\/li>\n<li>It&#8217;s very cpu intensive. I could likely live with the slowness, given how good a job it does, but I run many other things on the machine, including some <em>sensitive<\/em> applications (e.g., <a href=\"http:\/\/asterisk.org\/\" title=\"Asterisk Open Source PBX\" target=\"_blank\">Asterisk<\/a>) so I prefer not to load the cpu when possible.<\/li>\n<li>The last time SpamBouncer was updated was 4\/16\/2006. It&#8217;s too large a system for me to want to actively maintain, and given the speed with which spammers morph their capabilities, it&#8217;s simply easier for me to toss in a new rule or two into my own anemic set of rules.<\/li>\n<\/ol>\n<p>Anyway, all I can say is hooray \ud83d\ude42<\/p>\n<p>Now, in case it hasn&#8217;t been completely obvious to my numerous readers, I&#8217;m a relatively <em>passionate<\/em> person (OK, let&#8217;s not use euphemisms, the correct term is <strong>obsessive<\/strong>). As a result, much of my recent &#8220;free time&#8221; has been spent in this pursuit. As a result, my other previous obsession (online Poker), has taken a back seat. I have played a total of 2-3 hours of online Poker in the past 3+ weeks. For those who know me, that has to be a shocking fact \ud83d\ude09<\/p>\n<p>Noting the above, it&#8217;s clear that there are other ways to solve this problem. Notably, my good friend, and one of the most tech-savvy people I have ever meet, Jamie Thingelstad, <a href=\"http:\/\/www.thingelstad.com\/2007\/02\/switching-to-gmail\/\" title=\"Jamie chooses Gmail over \" target=\"_blank\">chose to throw in the towel<\/a>. I completely understand his decision, and might arrive there at some point in the future. Still, the <strong>contents<\/strong> of my emails are the <strong>heart<\/strong> of my business, and I can&#8217;t imagine parting with them and putting them in someone else&#8217;s care (at least not yet). He, and many others, have been trying to get me to switch to a Mac for years as well, and that hasn&#8217;t happened yet either \ud83d\ude09<\/p>\n<p style=\"width: 490px; position: absolute; visibility: hidden; z-index: 99999; top: 518px; left: 612px\" id=\"AnswersBalloon\">\n<table class=\"JSBalloon\" style=\"border-collapse: collapse; direction: ltr\" id=\"AutoNumber1\" cellpadding=\"0\" cellspacing=\"0\">\n<tr>\n<td height=\"9\" width=\"10\">&nbsp;<\/td>\n<td style=\"border-bottom: 1px solid #999999\" height=\"9\" width=\"1\">&nbsp;<\/td>\n<td style=\"visibility: hidden\" class=\"topimagecorner1\" id=\"AnswerTipHook\" height=\"9\" valign=\"bottom\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.answers.com\/main\/images\/aNorthEast.gif\" class=\"AnswerTipNorth\" height=\"18\" width=\"67\" \/><\/td>\n<td style=\"border-bottom: 1px solid #999999\" height=\"9\" width=\"100%\">&nbsp;<\/td>\n<td style=\"border-bottom: 1px solid #999999\" height=\"9\" width=\"70\">&nbsp;<\/td>\n<td height=\"9\" width=\"10\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>I know, what a silly thing to say, and in public at that! Previously, I posted on my woes in having old SpamBayes filtering starting to fail and new procmail rules that I foolishly put in myself causing me to suffer from spam more than usual. I am happy to report that it&#8217;s back under [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[4,3,2],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-4","category-3","category-2"],"_links":{"self":[{"href":"https:\/\/opticality.com\/blog\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opticality.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opticality.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opticality.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/opticality.com\/blog\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":0,"href":"https:\/\/opticality.com\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/opticality.com\/blog\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opticality.com\/blog\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opticality.com\/blog\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}