{"id":451,"date":"2013-11-13T10:42:05","date_gmt":"2013-11-13T15:42:05","guid":{"rendered":"http:\/\/fazigu.org\/blog\/?p=451"},"modified":"2014-01-01T16:05:07","modified_gmt":"2014-01-01T21:05:07","slug":"thunderturd-or-how-i-learned-to-stop-griping-and-allow-remote-content","status":"publish","type":"post","link":"https:\/\/fazigu.org\/blog\/2013\/11\/13\/thunderturd-or-how-i-learned-to-stop-griping-and-allow-remote-content\/","title":{"rendered":"Thunderturd! or: How I Learned To Stop Griping and Allow Remote Content"},"content":{"rendered":"<p>I&#8217;m working from home, and our company&#8217;s outsourced webmail leaves much to be desired. \u00a0My desktop is Windows 7, since it offers the compatibility necessary in the corporate world, while most of my work is done through an xterm launched from my Linux box over CAT6.<\/p>\n<p>Rather than keeping up multiple webmail windows or collecting them all through one service (which usually leaves me with duplicate synchronizations across devices), I decided to choose an email client. \u00a0First, it was Windows Live Mail, and I liked it&#8211; for the most part. \u00a0Then, we were asked to standardize on a signature with images, and Live Mail didn&#8217;t seem to allow that. \u00a0It also didn&#8217;t have much flexibility in quoting replied messages.<\/p>\n<p>I tried Outlook 2007 for a while, but it began hanging on IMAP more frequently than my blood pressure would comfortably allow. \u00a0I&#8217;d given Mozilla&#8217;s Thunderbird a whirl, but something about it really pissed me off at the time. \u00a0I tried it again.<\/p>\n<p>Decent. \u00a0Open Source, so there are updates, and I could hack the goddamned code if I wanted to fix something <em>real hard<\/em>. \u00a0The most annoying quirk was the &#8220;Allow remote content?&#8221; pop-in panel. \u00a0It seemed to have an all-or-one idea of what should be allowed, where one could show all remote content, or approve single email addresses. \u00a0This was a nuisance with, for example, notifications from Google+, which are &#8220;From&#8221; a generated email address. \u00a0Thus, adding that address to your contents did nothing but bloat your contact list.<\/p>\n<p>A bit more digging found that Thunderbird had the same &#8220;about:config&#8221; back-door to its internal configuration properties as its brother-father-cousin Firefox and Mozilla and Netscape, and within there was a mail.trusteddomains setting. \u00a0One opens this menu through the &#8220;Tools&#8221; option in the menu-bar, under &#8220;Options&#8230;&#8221;, and then:<\/p>\n<p><a href=\"https:\/\/fazigu.org\/blog\/wp-content\/uploads\/2013\/11\/thunderturdOptionsWindow.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-453\" alt=\"thunderturdOptionsWindow\" src=\"https:\/\/fazigu.org\/blog\/wp-content\/uploads\/2013\/11\/thunderturdOptionsWindow.jpg\" width=\"480\" height=\"374\" \/><\/a><\/p>\n<p>According to the arcane documentation available, opening this dialog and setting this property to a comma-delimited list of domain names would instruct Thunderbird to automatically load <em>content<\/em> (n.b.) from those domains. \u00a0Each entry should be a single base domain name&#8211; <em>not a subdomain<\/em>. \u00a0That is, &#8220;google.com&#8221; rather than &#8220;plus.google.com&#8221;.<\/p>\n<p>Adding &#8220;google.com&#8221; didn&#8217;t work. \u00a0I searched some more, then this morning came across a <a title=\"Loading remote content from a certain domain, but infinite users. \" href=\"https:\/\/getsatisfaction.com\/mozilla_messaging\/topics\/loading_remote_content_from_a_certain_domain_but_infinite_users\" target=\"_blank\">question on a Thunderbird support site<\/a>\u00a0&#8212; posted almost a year ago and without a resolution. \u00a0So, I went to semi-angrily post my response, then realized&#8211; &#8220;Hey, me. \u00a0It surely isn&#8217;t just white-listing domains based on an email address. \u00a0If it were, anyone using a gmail account could just plop in an externally-hosted image in an HTML message and have it trusted.&#8221; \u00a0So, I viewed the source of this particular Google+ notification.<\/p>\n<p>Two images: one from <span style=\"font-family: 'courier new', courier;\">googleusercontent.com<\/span> and another from <span style=\"font-family: 'courier new', courier;\">gstatic.com<\/span>.<\/p>\n<p>Short answer?<\/p>\n<p>Set <strong><span style=\"font-family: 'courier new', courier;\">mail.trusteddomains<\/span><\/strong> to\u00a0<span style=\"font-family: 'courier new', courier;\"><strong>google.com,googleusercontent.com,gstatic.com<span style=\"font-family: verdana, geneva;\">\u00a0<\/span><\/strong><span style=\"font-family: verdana, geneva;\">&#8230;<\/span><\/span><\/p>\n<p><a href=\"https:\/\/fazigu.org\/blog\/wp-content\/uploads\/2013\/11\/thunderturdAboutConfigWindow.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-452\" alt=\"thunderturdAboutConfigWindow\" src=\"https:\/\/fazigu.org\/blog\/wp-content\/uploads\/2013\/11\/thunderturdAboutConfigWindow.jpg\" width=\"480\" height=\"133\" \/><\/a><\/p>\n<p>And now, they will load. \u00a0This won&#8217;t help much if images are loaded from a <a title=\"Content Delivery Network - Wikipedia\" href=\"http:\/\/en.wikipedia.org\/wiki\/Content_delivery_network\" target=\"_blank\">CDN<\/a>, and it&#8217;s a bit of a nuisance to &#8220;View Source&#8221; on a message, search and record each &#8220;img&#8221; tag&#8217;s domain, then add them all to the property, but&#8211; it works.<\/p>\n<p>One final commentary which would be a sidebar if I knew how to do it in WordPress: Why not just allow all remote content? \u00a0At first, even though I&#8217;m a hacker and a cracker and I think I always will, I almost just said &#8220;fuck it, it&#8217;s just cookies!&#8221; \u00a0A second later, I realized that any image being loaded involves a hit to where that image is hosted, and while that URL might indicate it&#8217;s just plucking a .jpg, it could be doing anything. \u00a0It probably isn&#8217;t running a script on your mail client (I doubt Thunderbird would allow that), but it could certainly be recording that the message was read, and where it was read from, and all manner of other invasive maneuvers. \u00a0At its most innocuous, it could serve as a reasonably accurate &#8220;Read Receipt&#8221; for mail sent to anyone who trusts you&#8211; although they probably won&#8217;t trust you as much if\/when they realize you&#8217;re doing that.<\/p>\n<p>Enjoy.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m working from home, and our company&#8217;s outsourced webmail leaves much to be desired. \u00a0My desktop is Windows 7, since it offers the compatibility necessary in the corporate world, while most of my work is done through an xterm launched from my Linux box over CAT6. Rather than keeping up multiple webmail windows or collecting [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[60],"class_list":["post-451","post","type-post","status-publish","format-standard","hentry","category-hacking","tag-tips-and-tricks"],"_links":{"self":[{"href":"https:\/\/fazigu.org\/blog\/wp-json\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fazigu.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fazigu.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fazigu.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fazigu.org\/blog\/wp-json\/wp\/v2\/comments?post=451"}],"version-history":[{"count":4,"href":"https:\/\/fazigu.org\/blog\/wp-json\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":457,"href":"https:\/\/fazigu.org\/blog\/wp-json\/wp\/v2\/posts\/451\/revisions\/457"}],"wp:attachment":[{"href":"https:\/\/fazigu.org\/blog\/wp-json\/wp\/v2\/media?parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fazigu.org\/blog\/wp-json\/wp\/v2\/categories?post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fazigu.org\/blog\/wp-json\/wp\/v2\/tags?post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}