{"id":175,"date":"2006-11-30T20:46:33","date_gmt":"2006-11-30T20:46:33","guid":{"rendered":"http:\/\/blog.adamsweet.org\/?p=175"},"modified":"2015-07-21T11:11:49","modified_gmt":"2015-07-21T10:11:49","slug":"today-i-have-been-mostly-irritated-by","status":"publish","type":"post","link":"https:\/\/blog.adamsweet.org\/?p=175","title":{"rendered":"Today I Have Been Mostly Irritated By&#8230;"},"content":{"rendered":"<p>&#8230;Stupid mail servers.<\/p>\n<p>You see, while being a reasonably well balanced person, I tend to see through things quickly, particularly advertising, marketing, PR, promotions, special offers and those guys with the throwing games at the fair ground and shit songs, irritating adverts and crap, mindless TV programmes piss me off really badly so much so that I have to turn over the TV or radio to make it all just go away.<\/p>\n<p>As you may have read <a href=\"http:\/\/blog.adamsweet.org\/?p=146\">here<\/a> and <a href=\"http:\/\/blog.adamsweet.org\/?p=172\">here<\/a>, I like tinkering with mail servers, there seem to be endless permutations to solving any number of problems. So, I implemented greylisting a few weeks back and it has worked well, I received compliments on how much the spam rate had dropped, in fact to pretty much zero. I estimate that at least 90% of email connections my main mail server receives are spam and we drop about 40% of that with spam blacklists, Spamassassin was pretty ineffective and caused problems under heavy load so I dropped it and replaced it with greylisting. Greylisting refuses every email connection the first time round and tells you to come back in a short while.<\/p>\n<p>A core feature of mail servers is the ability to spool message to retry later. When the retry comes , if it is after a certain period of time, the mail server looks up in the greylisting table whether it has seen mail from you recently and if it has, lets the mail through. Simple huh? And a pretty common tactic. Most spam comes from virus infected Windows machines and the spam software on them (which you won&#8217;t notice apart from your Internet connection being slow) isn&#8217;t normally intelligent enough to handle retries, they are normally optimised for sending as much spam as possible, regardless of whether it reaches it&#8217;s destination.<\/p>\n<p>So, what has pissed me off today is a client complained that they aren&#8217;t getting some mail. I look into it and find that in each case the sending mail server can&#8217;t handle retries. WHY NOT??? Because, probably, their administrators don&#8217;t know what they&#8217;re doing. In one case, I guess it&#8217;s a policy decision. That&#8217;s YOU Blueyonder, spam capital of the UK. But in the other case, it looks like a home hosted mail server run by people that don&#8217;t know what they&#8217;re doing.<\/p>\n<p>In this case, I had to whitelist (that means automatically allow, for the non-techies) the servers in question to allow my customers to receive the mail.<\/p>\n<p>So, aside from my other rants on the topic of mail administration above, if you run a mail server, make sure you can handle reties within a reasonable period, unless you have a specific technical reason not to. As a hint, make the first retry within 10 to 15 minutes and then another one after an hour.<\/p>\n<p>Oh yes, in completely unrelated news, I have given up smoking again. Completely unrelated, as I say.<\/p>\n<p>On the good front, it amazes me how useful <a href=\"http:\/\/planetwatson.co.uk\/blog\/\">David Watson<\/a> seems to be. I&#8217;m almost certain I&#8217;ve never met him, but he seems to keep popping up with solutions to my quandaries. Such as <a href=\"http:\/\/planetwatson.co.uk\/blog\/2006\/08\/10\/greylisting-to-the-rescue\/\">here<\/a> and <a href=\"http:\/\/silverwraith.com\/pipermail\/vexim\/2006-November\/003735.html\">here<\/a>. And he&#8217;s a fellow bass player. Keep on being one of the most useful people in world dude :).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8230;Stupid mail servers. You see, while being a reasonably well balanced person, I tend to see through things quickly, particularly advertising, marketing, PR, promotions, special offers and those guys with the throwing games at the fair ground and shit songs, &hellip; <a href=\"https:\/\/blog.adamsweet.org\/?p=175\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-175","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts\/175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=175"}],"version-history":[{"count":1,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts\/175\/revisions"}],"predecessor-version":[{"id":588,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=\/wp\/v2\/posts\/175\/revisions\/588"}],"wp:attachment":[{"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.adamsweet.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}