<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Technicalities &#187; e-mail</title>
	<atom:link href="http://www.sirena.org.uk/log/category/tech/e-mail/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sirena.org.uk/log</link>
	<description>Just another random blog</description>
	<lastBuildDate>Sat, 21 Jan 2012 23:41:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Full quoting</title>
		<link>http://www.sirena.org.uk/log/2009/07/30/full-quoting/</link>
		<comments>http://www.sirena.org.uk/log/2009/07/30/full-quoting/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 22:42:48 +0000</pubDate>
		<dc:creator>Mark Brown</dc:creator>
				<category><![CDATA[e-mail]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Planet Debian]]></category>
		<category><![CDATA[email]]></category>

		<guid isPermaLink="false">http://www.sirena.org.uk/log/2009/07/30/full-quoting/</guid>
		<description><![CDATA[There&#8217;s a long standing idea tha one should make an effort to trim out text from the original which is not germane to the new content in your reply. This is not just a bandwidth thing, it&#8217;s also about decreasing the effort required for the readers to parse the message &#8211; to locate the new [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a long standing idea tha one should make an effort to trim out text from the original which is not germane to the new content in your reply. This is not just a bandwidth thing, it&#8217;s also about decreasing the effort required for the readers to parse the message &#8211; to locate the new text and refresh their memory of the relevant bits of the conversation. Unfortunately it seems that more and more people aren&#8217;t doing the cutting. </p>
<p>This causes issues for me mainly because I do a reasonable amount of my mail reading using my phone. It&#8217;s no fun wading through pages of diff on an undersized screen such as a mobile phone when the &#8220;content&#8221; you&#8217;re looking for is a one line comment somewhere in the middle. Even on a full size screen it&#8217;s often difficult to locate a small piece of new text, but there it needs a much bigger haystack to be an issue.</p>
<p>Please, if you&#8217;re one of the people who do this have pity on those of us Reading your messages on smaller devices!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sirena.org.uk/log/2009/07/30/full-quoting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GMail UI issues</title>
		<link>http://www.sirena.org.uk/log/2009/06/21/gmail-ui-fail/</link>
		<comments>http://www.sirena.org.uk/log/2009/06/21/gmail-ui-fail/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 10:48:37 +0000</pubDate>
		<dc:creator>Mark Brown</dc:creator>
				<category><![CDATA[e-mail]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gmail.]]></category>

		<guid isPermaLink="false">http://www.sirena.org.uk/log/?p=146</guid>
		<description><![CDATA[I read a lot of e-mail, mostly for Linux related purposes. Normally people use well behaved e-mail clients and everything is presented in a fairly standard fashion but there&#8217;s some that often stick out like a sore thumb. The obvious one is Outlook, which has well known idiosyncracies but which some companies force their employees [...]]]></description>
			<content:encoded><![CDATA[<p>I read a lot of e-mail, mostly for Linux related purposes. Normally people use well behaved e-mail clients and everything is presented in a fairly standard fashion but there&#8217;s some that often stick out like a sore thumb.</p>
<p>The obvious one is Outlook, which has well known idiosyncracies but which some companies force their employees to use even for free software work. The  other is GMail. GMail has two problems. One is that the UI appears to encourage people to insert their text into the middle of messages without deleting any context. This makes it hard to notice the new content in big e-mail threads or when someone&#8217;s commenting on large patches &#8211; searching for the new text is like looking for a needle in a haystack. That said, this is at least partly a user issue &#8211; many people manage to use GMail without doing this, it&#8217;s just that the GMail UI seems to encourage it more than most other UIs.</p>
<p>The other thing is is that it&#8217;s recently decided to format the author information for quoted text in a very odd way:</p>
<blockquote><p>On Sun, Jun 14, 2009 at 11:00 PM, Mark<br />
Brown&lt;broonie@opensource.wolfsonmicro.com&gt; wrote:</p></blockquote>
<p>What&#8217;s happened is that it&#8217;s decided to remove the space between the author name and the e-mail address. This causes a very odd word wrapping on the very first line of the message and is really noticable when you&#8217;re reading. I&#8217;m not sure what inspired that change, there doesn&#8217;t seem to be any motivation for it, but it doesn&#8217;t seem terribly helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sirena.org.uk/log/2009/06/21/gmail-ui-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buffer overflows ahoy</title>
		<link>http://www.sirena.org.uk/log/2009/02/18/buffer-overflows-ahoy/</link>
		<comments>http://www.sirena.org.uk/log/2009/02/18/buffer-overflows-ahoy/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 10:50:36 +0000</pubDate>
		<dc:creator>Mark Brown</dc:creator>
				<category><![CDATA[e-mail]]></category>
		<category><![CDATA[Planet Debian]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[tls]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.sirena.org.uk/log/?p=158</guid>
		<description><![CDATA[I may be wrong on this but it looks like Microsoft SMTP clients (at least Windows Mail and Outlook) don&#8217;t like being sent a large volume of SSL certificate information when opening a TLS connection. They appear to assume that the data they are being sent is malformed and assume that STARTTLS failed, continuing with [...]]]></description>
			<content:encoded><![CDATA[<p>I may be wrong on this but it looks like Microsoft SMTP clients (at least Windows Mail and Outlook) don&#8217;t like being sent a large volume of SSL certificate information when opening a TLS connection. They appear to assume that the data they are being sent is malformed and assume that STARTTLS failed, continuing with an unencrypted  SMTP dialogue.</p>
<p>This can be triggered relatively easily on a Debian system by telling Exim to use all the certificates provided by the ca-certificates package (which is the default configuration). The Windows clients will give an unhelpful &#8220;the remote end dropped the connection&#8221; style error, caused by the server getting upset by the unexpected fallback to unencrypted SMTP. The server logs will show something like this:</p>
<pre>2009-02-17 21:32:55 TLS error on connection from client.example.com (Client) [192.168.192.168] (gnutls_handshake): A TLS packet with unexpected length was received.
2009-02-17 21:33:00 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=client.example.com [192.168.192.168] input="EHLO Client\r\n"</pre>
<p>Configuring the MAIN_VERIFY_TLS_CERTIFICATES option in the Debian Exim configuration (which sets the tls_verifiy_certificates option in the actual Exim configuration) to point to something with less certificates in should avoid the issue.</p>
<p>On the bright side, at least they&#8217;re making an effort to avoid overflows.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sirena.org.uk/log/2009/02/18/buffer-overflows-ahoy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Upgrading crm114</title>
		<link>http://www.sirena.org.uk/log/2009/02/15/upgrading-crm114/</link>
		<comments>http://www.sirena.org.uk/log/2009/02/15/upgrading-crm114/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 00:01:44 +0000</pubDate>
		<dc:creator>Mark Brown</dc:creator>
				<category><![CDATA[e-mail]]></category>
		<category><![CDATA[Planet Debian]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[crm114]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.sirena.org.uk/log/?p=151</guid>
		<description><![CDATA[When upgrading from older crm114 releases and trying to retain your existing configuration it is important to check that all the configuration options that the new version expects to be set have been set. While some will cause errors if they&#8217;re omitted others will appear to work but will cause unwanted behaviour at runtime. For [...]]]></description>
			<content:encoded><![CDATA[<p>When upgrading from older <a href="http://crm114.sourceforge.net/">crm114</a> releases and trying to retain your existing configuration it is important to check that all the configuration options that the new version expects to be set have been set. While some will cause errors if they&#8217;re omitted others will appear to work but will cause unwanted behaviour at runtime. For example, omitting good_threshold and spam_threshold will cause everything to be flagged as spam in X-CRM114-Status even though the classifier is working well.</p>
<p>In practice there are relatively few configuration options that users are expected to configure so it may be easier to redo the configuration based on the example provided. For safety it&#8217;s best to delete your existing CSS files too in case they&#8217;ve been invalidated by a configuration or format change.</p>
<p>It&#8217;s all a bit manual but it&#8217;s worth it for what it does for my inbox.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sirena.org.uk/log/2009/02/15/upgrading-crm114/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Apple Mail and format=flowed</title>
		<link>http://www.sirena.org.uk/log/2008/08/30/apple-mail-and-formatflowed/</link>
		<comments>http://www.sirena.org.uk/log/2008/08/30/apple-mail-and-formatflowed/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 11:25:04 +0000</pubDate>
		<dc:creator>Mark Brown</dc:creator>
				<category><![CDATA[e-mail]]></category>
		<category><![CDATA[Planet Debian]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[engineering]]></category>
		<category><![CDATA[interoperability]]></category>
		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://www.sirena.org.uk/log/?p=109</guid>
		<description><![CDATA[There&#8217;s one thing that the Apple Mail client gets right which I&#8217;ve never seen anything else try to do &#8211; the way it formats messages. Most mail clients seem to offer plain text and HTML as user selectable options and do exactly what they&#8217;re told regardless of the content of the message. If HTML is [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s one thing that the Apple Mail client gets right which I&#8217;ve never seen anything else try to do &#8211; the way it formats messages. Most mail clients seem to offer plain text and HTML as user selectable options and do exactly what they&#8217;re told regardless of the content of the message. If HTML is enabled they always send a mail with both text/plain and text/html renditions of the message. Normally the plain text version is a fixed, 80 column version. This is wasteful of bandwidth, especially since very few users actually use any formatting at all, and means that mail programs that don&#8217;t do HTML have to treat the mails as though the fixed layout the sending system chooses is important even when it results in poor layout (for example, on mobile devices with small screens).</p>
<p>What Apple Mail does here is to only enable the more complex formatting options if they add information that can&#8217;t be represented in the less complex formats. By default mails are sent in text/plain with the <a href="http://www.ietf.org/rfc/rfc2646.txt">format=flowed</a> option to let the reader know it can safely reflow the text and no HTML alternative is generated. If something that can&#8217;t be represented using format=flowed is included in the message then a HTML alternative is generated &#8211; transparently and without user intervention.</p>
<p>This is good partly because it&#8217;s nice to see format=flowed used, it&#8217;s a nice technical solution to the problem, but mostly because it&#8217;s great user interface design. Most Apple Mail users will never notice if it is or isn&#8217;t generating HTML e-mail, they&#8217;ll just see that it&#8217;s doing what they expect and won&#8217;t have to deal with an option that they probably don&#8217;t understand or have much of a view on. Other users won&#8217;t be troubled with HTML generated by Apple Mail users unless there is some content in the formatting. It&#8217;d be good to see more MUAs implementing similar behavior, at least optionally.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sirena.org.uk/log/2008/08/30/apple-mail-and-formatflowed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Paging Doctor Grumpy</title>
		<link>http://www.sirena.org.uk/log/2008/08/13/paging-doctor-grumpy/</link>
		<comments>http://www.sirena.org.uk/log/2008/08/13/paging-doctor-grumpy/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 16:49:05 +0000</pubDate>
		<dc:creator>Mark Brown</dc:creator>
				<category><![CDATA[e-mail]]></category>
		<category><![CDATA[Planet Debian]]></category>
		<category><![CDATA[clue]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.sirena.org.uk/log/?p=95</guid>
		<description><![CDATA[Please, folks, when emailing the same question to multiple people or places send a single email with multiple recipients. Don&#8217;t send separate mails to each destination &#8211; at best you&#8217;ll waste people&#8217;s time, at worst you&#8217;ll irritate them. There are a few exceptions, mostly to do with confidentiality, but they really are pretty rare &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Please, folks, when emailing the same question to multiple people or places send a single email with multiple recipients. Don&#8217;t send separate mails to each destination &#8211; at best you&#8217;ll waste people&#8217;s time, at worst you&#8217;ll irritate them. There are a few exceptions, mostly to do with confidentiality, but they really are pretty rare &#8211; especially for free software.</p>
<p>Not that this should be in any way news or non-obvious.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sirena.org.uk/log/2008/08/13/paging-doctor-grumpy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Security here we come</title>
		<link>http://www.sirena.org.uk/log/2007/12/30/security-here-we-come/</link>
		<comments>http://www.sirena.org.uk/log/2007/12/30/security-here-we-come/#comments</comments>
		<pubDate>Sun, 30 Dec 2007 20:15:11 +0000</pubDate>
		<dc:creator>Mark Brown</dc:creator>
				<category><![CDATA[e-mail]]></category>
		<category><![CDATA[Planet Debian]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://www.sirena.org.uk/log/?p=64</guid>
		<description><![CDATA[The IMAP client provided with the version of Symbian on my phone has an interesting way of verifying certificates used for encrypting IMAP connections. As one would expect the client verifies the signatures on the certificate offered by the IMAP server and will prompt the user if it sees signatures that it can&#8217;t trace back [...]]]></description>
			<content:encoded><![CDATA[<p>The IMAP client provided with the version of <a href="http://www.symbian.com/symbianos/index.html">Symbian</a> on my <a href="http://www.sonyericsson.com/cws/products/mobilephones/overview/p990i">phone</a> has an interesting way of verifying certificates used for encrypting IMAP connections.</p>
<p>As one would expect the client verifies the signatures on the certificate offered by the IMAP server and will prompt the user if it sees signatures that it can&#8217;t trace back to an authority it trusts. Unfortunately it is not possible to tell the device to remember the decision which means that when the device prompts it will prompt every time it connects to the server in question. The result of this is user irritation and a reduction in security since there is much less chance that a changed server certificate will be noticed.</p>
<p>You would expect that there would be a lot of users encountering this given that so many sites don&#8217;t use a signed certificate but it turns out that this is not the case. Someone must have realised how many systems would be affected and so a solution was provided &#8211; if the server is using an unsigned certificate then the phone will accept it without warning the user at all. Only servers with signatures from an unknown trust source like a private certificate authority will cause the user to be prompted to verify the server certificate. This avoids both user irritation and any chance that the user will actually verify the fingerprint of the server they are connecting to, exposing users to spoofing and redirection based attacks.</p>
<p>Clearly someone hasn&#8217;t thought through what they&#8217;re doing here &#8211; it all rather defeats the point of signing in the first place. On the bright side, this is the first Symbian phone I have seen where the native IMAP client encrypted connections at all so having this problem is progress.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sirena.org.uk/log/2007/12/30/security-here-we-come/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spam backscatter</title>
		<link>http://www.sirena.org.uk/log/2007/09/16/spam-backscatter/</link>
		<comments>http://www.sirena.org.uk/log/2007/09/16/spam-backscatter/#comments</comments>
		<pubDate>Sun, 16 Sep 2007 11:56:45 +0000</pubDate>
		<dc:creator>Mark Brown</dc:creator>
				<category><![CDATA[e-mail]]></category>
		<category><![CDATA[Planet Debian]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://www.sirena.org.uk/log/?p=56</guid>
		<description><![CDATA[Over the past couple of weeks I&#8217;ve started getting messages like this from the SourceForge: Your membership in the mailing list whatever has been disabled due to excessive bounces The last bounce received from you was dated 15-Sep-2007. It&#8217;s true &#8211; the systems that handle my mail do generate a number of SMTP time rejects [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past couple of weeks I&#8217;ve started getting messages like this from the SourceForge:</p>
<blockquote><p> Your membership in the mailing list whatever has been disabled due to excessive bounces The last bounce received from you was dated 15-Sep-2007.</p></blockquote>
<p>It&#8217;s true &#8211; the systems that handle my mail do generate a number of SMTP time rejects for open posting SourceForge lists. My mail server does SMTP time rejection of some spam and these lists don&#8217;t appear to have much in the way of spam filtering. It&#8217;s a bit depressing since the main problem appears to be limited filtering on the SourceForge side which renders the lists in question rather difficult to read but it&#8217;s unsurprising given the nature of the service.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sirena.org.uk/log/2007/09/16/spam-backscatter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>In plain sight</title>
		<link>http://www.sirena.org.uk/log/2007/02/06/in-plain-sight/</link>
		<comments>http://www.sirena.org.uk/log/2007/02/06/in-plain-sight/#comments</comments>
		<pubDate>Tue, 06 Feb 2007 19:53:55 +0000</pubDate>
		<dc:creator>Mark Brown</dc:creator>
				<category><![CDATA[e-mail]]></category>
		<category><![CDATA[Planet Debian]]></category>

		<guid isPermaLink="false">http://www.sirena.org.uk/log/?p=39</guid>
		<description><![CDATA[Even worse than the usual multipart/alternative messages with a contentless text/plain part are messages like that when there quite clearly is a text/plain version of the message (for example, as another option when you sign up for a list) but it&#8217;s not been included and this unhelpful &#8220;error&#8221; has been included. This annoys me: my [...]]]></description>
			<content:encoded><![CDATA[<p>Even worse than the usual <a href="http://www.davidpashley.com/blog/2007/02/06#mime-format">multipart/alternative messages with a contentless text/plain part</a> are messages like that when there quite clearly is a text/plain version of the message (for example, as another option when you sign up for a list) but it&#8217;s not been included and this unhelpful &#8220;error&#8221; has been included. This annoys me: my text mode mail reader is perfectly capable of coping with both multipart/alternative and (via whatever run-mailcap gives it) text/html messages; the error here is entirely in the sending software. It should either include the text/plain version which the sender is already going to the trouble of producing as an alternative in a multipart message or just not bother with the alternative at all.</p>
<p>Given the general quality of implementation one finds the reasoning behind providing the alternative is probably that there&#8217;s some widely deployed piece of software out there which explodes horribly if it sees HMTL outside of a multipart/alternative wrapper. There are probably some users who are sufficiently keen on seeing the HTML version of the message to mean that they would actively wish to avoid using a plain version of it but there can&#8217;t be many &#8211; I expect the actual reasoning behind not putting it in is ease of implementation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sirena.org.uk/log/2007/02/06/in-plain-sight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ecartis SMTP client</title>
		<link>http://www.sirena.org.uk/log/2006/10/30/ecartis-smtp-client/</link>
		<comments>http://www.sirena.org.uk/log/2006/10/30/ecartis-smtp-client/#comments</comments>
		<pubDate>Mon, 30 Oct 2006 20:04:03 +0000</pubDate>
		<dc:creator>Mark Brown</dc:creator>
				<category><![CDATA[e-mail]]></category>
		<category><![CDATA[Planet Debian]]></category>

		<guid isPermaLink="false">http://www.sirena.org.uk/log/?p=36</guid>
		<description><![CDATA[As Steve found Ecartis isn&#8217;t terribly informative about problems it encounters injecting mail via SMTP: 2006-08-14 21:40:25 1GCk6m-0006ZH-Vu == &#124;/usr/lib/ecartis/ecartis -s xen-tools-commits R=vdom_aliases T=address_pipe defer (0): Child process of address_pipe transport returned 75 (could mean temporary error) from command: /usr/lib/ecartis/ecartis with nothing in the Ecartis log by default. Along with a general failure to talk [...]]]></description>
			<content:encoded><![CDATA[<p>As <a href="http://blog.steve.org.uk/index.php/archives/2006/08/14/step-inside-suprise/">Steve</a> found <a href="http://www.ecartis.org/">Ecartis</a> isn&#8217;t terribly informative about problems it encounters injecting mail via SMTP:</p>
<p><code><br />
2006-08-14 21:40:25 1GCk6m-0006ZH-Vu == |/usr/lib/ecartis/ecartis -s xen-tools-commits R=vdom_aliases T=address_pipe defer (0): Child process of address_pipe transport returned 75 (could mean temporary error)<br />
from command: /usr/lib/ecartis/ecartis<br />
</code></p>
<p>with nothing in the Ecartis log by default. Along with a general failure to talk SMTP like Steve found you should also watch out for address checks tripping up on some of the addresses in the list &#8211; recipient verification callouts were what bit me. Ecartis will be a lot happier if it can just pump mail into an unquestioning server and have any problems reported via injection of bounce messages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sirena.org.uk/log/2006/10/30/ecartis-smtp-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

