CINXE.COM

Launchpad Blog

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="description" content="Blog posts from the Launchpad team" /> <title>Launchpad Blog</title> <link href="https://blog.launchpad.net/wp-content/themes/launchpad/style.css" rel="stylesheet" type="text/css" /> <link rel="shortcut icon" href="https://launchpad.net/@@/launchpad" /> <script type="text/javascript" src="https://blog.launchpad.net/wp-content/themes/launchpad/js/mootools-1.2-core.js"></script> <script type="text/javascript" src="https://blog.launchpad.net/wp-content/themes/launchpad/js/funcs.js"></script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-12833497-3']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body> <!-- Header --> <div id="header"> <a href="/wp-admin" style="float:right; top: 2px;">Log in</a> <div id="finder"> <input type="search" accesskey="s" value="Search blog archives" name="s" id="s" /> <input type="hidden" name="blog_url" id="blog_url" value="https://blog.launchpad.net" /> <a href="https://blog.launchpad.net/feed" title="RSS Feed for Blog Entries"><img src="https://blog.launchpad.net/wp-content/themes/launchpad/images/rss.png" alt="RSS Feed" /></a> </div> <h1><a href="https://blog.launchpad.net" class="header-link"><img src="https://blog.launchpad.net/wp-content/themes/launchpad/images/logo.png" /><span class="logotext"> launchpad</span><strong>blog</strong></a></h1> </div> <div id="content" class="narrowcolumn"> <h2 class="pagetitle">Posts Tagged &#8216;email&#8217;</h2> <div class="navigation"> <div class="alignleft"></div> <div class="alignright"></div> </div> <div class="post"> <h3 id="post-4318"><a href="https://blog.launchpad.net/notifications/bug-emails-now-use-the-bugs-address-in-the-from-header" rel="bookmark" title="Permanent Link to Bug emails now use the bug&#8217;s address in the From: header">Bug emails now use the bug&#8217;s address in the From: header</a></h3> <small>Wednesday, May 20th, 2020</small> <div class="entry"> <p>The <code>From:</code> addresses used by Launchpad&#8217;s bug notifications have changed, to improve the chances of our messages being delivered over modern internet email.</p> <p>Launchpad sends a lot of email, most of which is the result of Launchpad users performing some kind of action. For example, when somebody adds a comment to a bug, Launchpad sends that comment by email to everyone who&#8217;s subscribed to the bug.</p> <p>Most of Launchpad was designed in an earlier era of internet email. In that era, it was perfectly reasonable to take the attitude that we were sending email on behalf of the user &#8211; in effect, being a fancy mail user agent or perhaps a little like a mailing list &#8211; and so if we generated an email that&#8217;s a direct result of something that a user did and consisting mostly of text they wrote, it made sense to put their email address in the <code>From:</code> header. <code>Reply-To:</code> was set so that replies would normally go to the appropriate place (the bug, in the case of bug notifications), but if somebody wanted to go to a bit of effort to start a private side conversation then it was easy to do so; and if email clients had automatic address books then those wouldn&#8217;t get confused because the address being used was a legitimate address belonging to the user in question.</p> <p>Of course, some people always wanted to hide their addresses for obvious privacy reasons, so since 2006 Launchpad has had a &#8220;Hide my email address from other Launchpad users&#8221; switch (which you can set on your <a href="https://launchpad.net/~/+edit">Change your personal details</a> page), and since 2010 Launchpad has honoured this for bug notifications, so if you have that switch set then your bug comments will be sent out as something like &#8220;<code>From: Your Name &lt;bug-id@bugs.launchpad.net&gt;</code>&#8220;. This compromise worked tolerably well for a while.</p> <p>But spammers and other bad actors ruin everything, and the internet email landscape has changed. It&#8217;s reasonably common now for operators of email domains to publish <a href="https://en.wikipedia.org/wiki/DMARC"><abbr title="Domain-based Message Authentication, Reporting and Conformance">DMARC</abbr></a> policies that require emails whose From: headers are within that domain to be authenticated in some way, and this is incompatible with the older approach. As a result, it&#8217;s been getting increasingly common for Launchpad bug notifications not to be delivered because they failed these authentication checks. Regardless of how justifiable our notification-sending practices were, we have to exist within the reality of internet email as it&#8217;s actually deployed.</p> <p>So, thanks to a <a href="https://code.launchpad.net/~teward/launchpad/+git/launchpad/+merge/383643">contribution from Thomas Ward</a>, Launchpad now sends all its bug notifications as if the user in question had the &#8220;Hide my email address from other Launchpad users&#8221; switch set: that is, they&#8217;ll all appear as something like &#8220;<code>From: Your Name &lt;bug-id@bugs.launchpad.net&gt;</code>&#8220;. Over time we expect to extend this sort of approach to the other types of email that we send, possibly with different details depending on the situation.</p> <p>Please <a href="https://help.launchpad.net/Feedback">let us know</a> if this causes any strange behaviour in your email client. We may not be able to fix all of them, depending on how they interact with DMARC&#8217;s requirements, but we&#8217;d like to be aware of what&#8217;s going on.</p> <p></p> </div> <p class="postmetadata">Tags: <a href="https://blog.launchpad.net/tag/email" rel="tag">email</a>, <a href="https://blog.launchpad.net/tag/front-page" rel="tag">front-page</a><br /> Posted in <a href="https://blog.launchpad.net/category/notifications" rel="category tag">Notifications</a> | <a href="https://blog.launchpad.net/notifications/bug-emails-now-use-the-bugs-address-in-the-from-header#comments">1 Comment &#187;</a></p> </div> <div class="post"> <h3 id="post-4177"><a href="https://blog.launchpad.net/notifications/improved-filtering-options-for-gmail-users" rel="bookmark" title="Permanent Link to Improved filtering options for Gmail users">Improved filtering options for Gmail users</a></h3> <small>Wednesday, July 29th, 2015</small> <div class="entry"> <p>Users of some email clients, particularly <a href="https://mail.google.com/">Gmail</a>, have long had a problem filtering mail from Launchpad effectively.聽 We put lots of useful information into our message headers so that heavy users of Launchpad can automatically filter email into different folders.聽 Unfortunately, Gmail and some other clients do not support filtering mail on arbitrary headers, only on message bodies and on certain pre-defined headers such as Subject.聽 Figuring out what to do about this has been tricky.聽 Space in the Subject line is at a premium &#8211; many clients will only show a certain number of characters at the start, and so inserting filtering tags at the start would crowd out other useful information, so we don&#8217;t want to do that; and in general we want to avoid burdening one group of users with workarounds for the benefit of another group because that doesn&#8217;t scale very well, so we had to approach this with some care.</p> <p>As of our most recent code update, you&#8217;ll find a new setting on your &#8220;<a href="https://launchpad.net/~/+edit">Change your personal details</a>&#8221; page:</p> <p><a href="/wp-content/uploads/2015/07/email-settings.png"><img class="alignnone size-full wp-image-4178" src="/wp-content/uploads/2015/07/email-settings.png" alt="Screenshot of email configuration options" width="553" height="183" srcset="/wp-content/uploads/2015/07/email-settings.png 553w, /wp-content/uploads/2015/07/email-settings-300x99.png 300w" sizes="(max-width: 553px) 100vw, 553px" /></a></p> <p>If you check &#8220;Include filtering information in email footers&#8221;, Launchpad will duplicate some information from message headers into the signature part (below the dash-dash-space line) of message bodies: any &#8220;X-Launchpad-Something: value&#8221; header will turn into a &#8220;Launchpad-Something: value&#8221; line in the footer.聽 Since it&#8217;s below the signature marker, it should be relatively unobtrusive, but is still searchable.聽 You can search or filter for these in Gmail by putting the key/value pair in double quotes, like this:</p> <p><a href="/wp-content/uploads/2015/07/gmail-filter1.png"><img loading="lazy" class="alignnone size-full wp-image-4182" src="/wp-content/uploads/2015/07/gmail-filter1.png" alt="Screenshot of Gmail filter dialog with &quot;Has new words&quot; set to &quot;Launchpad-Notification-Type: code-review&quot;" width="589" height="362" srcset="/wp-content/uploads/2015/07/gmail-filter1.png 589w, /wp-content/uploads/2015/07/gmail-filter1-300x184.png 300w" sizes="(max-width: 589px) 100vw, 589px" /></a></p> <p>At the moment this only works for emails related to Bazaar branches, Git repositories, merge proposals, and build failures.聽 We intend to extend this to a few other categories soon, particularly bug mail and package upload notifications.聽 If you particularly need this feature to work for some other category of email sent by Launchpad, please file a bug to let us know.</p> </div> <p class="postmetadata">Tags: <a href="https://blog.launchpad.net/tag/email" rel="tag">email</a>, <a href="https://blog.launchpad.net/tag/front-page" rel="tag">front-page</a><br /> Posted in <a href="https://blog.launchpad.net/category/notifications" rel="category tag">Notifications</a> | <a href="https://blog.launchpad.net/notifications/improved-filtering-options-for-gmail-users#comments">3 Comments &#187;</a></p> </div> <div class="post"> <h3 id="post-2879"><a href="https://blog.launchpad.net/general/gmail-dkim" rel="bookmark" title="Permanent Link to Launchpad now accepts mail commands from gmail">Launchpad now accepts mail commands from gmail</a></h3> <small>Saturday, October 1st, 2011</small> <div class="entry"> <p><strong>If you use gmail, you should now be able to send commands to Launchpad without gpg-signing.</strong></p> <p>gmail puts a <a href="http://en.wikipedia.org/wiki/DKIM">DKIM</a> cryptographic signature on outgoing mail, which is a cryptographic signature that proves that the mail was sent by gmail and that it was sent by the purported user. We verify the signature on Launchpad and treat that mail as trusted which means, for example, that you can triage bugs over mail or vote on merge proposals. Previously you needed to GPG-sign the mail which is a bit of a hassle for gmail.</p> <p>(DKIM is signed by the sending domain, not by the user, so it doesn&#8217;t inherently prove that the purported sender is the actual one. People could intentionally or unintentionally set up a server that allows intra-domain impersonation, and it&#8217;s reported to be easy to misconfigure DKIM signers so that this happens. (Consider a simple SMTP server that accepts, signs and forwards everything from 192.168/16 with no authentication.) However, in cases like gmail we can reasonably assume Google don&#8217;t allow one user to impersonate another. We can add other trusted domains on request.)</p> <p><strong>If you have gmail configured to use some other address as your From address it will still work, as long as you verify both your gmail address and your other address.</strong></p> <p>You can use email commands to interact with both <a href="https://help.launchpad.net/Bugs/EmailInterface">bugs</a> and <a href="https://help.launchpad.net/Code/Review">code merge proposals</a>. For instance when Launchpad sends you mail about a new bug, you can just reply</p> <blockquote> <pre> status confirmed importance medium Thanks for letting us know! </pre> </blockquote> <p>We do this using the <a href="https://launchpad.net/pydkim">pydkim</a> library.</p> <p>Note that you do need at least one leading space before the commands.</p> <p>If you hit any bugs, let us know.</p> </div> <p class="postmetadata">Tags: <a href="https://blog.launchpad.net/tag/bugs" rel="tag">bugs</a>, <a href="https://blog.launchpad.net/tag/bug_mail" rel="tag">bug_mail</a>, <a href="https://blog.launchpad.net/tag/code-review" rel="tag">code-review</a>, <a href="https://blog.launchpad.net/tag/dkim" rel="tag">dkim</a>, <a href="https://blog.launchpad.net/tag/email" rel="tag">email</a>, <a href="https://blog.launchpad.net/tag/enhancement" rel="tag">enhancement</a>, <a href="https://blog.launchpad.net/tag/front-page" rel="tag">front-page</a>, <a href="https://blog.launchpad.net/tag/gpg" rel="tag">gpg</a><br /> Posted in <a href="https://blog.launchpad.net/category/cool-new-stuff" rel="category tag">Cool new stuff</a>, <a href="https://blog.launchpad.net/category/general" rel="category tag">General</a> | <a href="https://blog.launchpad.net/general/gmail-dkim#comments">16 Comments &#187;</a></p> </div> <div class="post"> <h3 id="post-2880"><a href="https://blog.launchpad.net/translations/les-poimport-spam" rel="bookmark" title="Permanent Link to Less mail about translation imports">Less mail about translation imports</a></h3> <small>Wednesday, September 28th, 2011</small> <div class="entry"> <p>Continuing on from our earlier work of sending <a href="http://blog.launchpad.net/notifications/less-mail-for-mailing-list-admins">less but better mail</a> and <a href="http://blog.launchpad.net/translations/approve-your-own-translation-imports">making it faster to import i18n translation templates</a>: <a href="https://bugs.launchpad.net/launchpad/+bug/855150"><strong>Launchpad will no longer send mail when it successfully imports a template</strong></a>. You can see in the web ui when the template was last imported, and you will still get mail if there&#8217;s a problem. </p> <p>I could hardly <a href="https://bugs.launchpad.net/launchpad/+bug/353648/comments/2">put it better than Riddell</a>:</p> <blockquote><p> Danilo asked for my reasoning. My reasoning is that pointless e-mails are a pain. </p></blockquote> <p><a href="http://www.flickr.com/photos/80327698@N00/4998726133/" title="Big pile of junk mail from Verizon by Night-thing, on Flickr"><img loading="lazy" src="http://farm5.static.flickr.com/4129/4998726133_4f6bf220cb.jpg" width="500" height="375" alt="Big pile of junk mail from Verizon"></a></p> <p>(I hope we&#8217;ll eventually have a more structured notification model, that will let you choose to see some notifications by mail and others in the web ui. One step at a time.)</p> </div> <p class="postmetadata">Tags: <a href="https://blog.launchpad.net/tag/announcement" rel="tag">announcement</a>, <a href="https://blog.launchpad.net/tag/bug-fixes" rel="tag">bug fixes</a>, <a href="https://blog.launchpad.net/tag/email" rel="tag">email</a>, <a href="https://blog.launchpad.net/tag/translation" rel="tag">translation</a><br /> Posted in <a href="https://blog.launchpad.net/category/translations" rel="category tag">Translations</a> | <a href="https://blog.launchpad.net/translations/les-poimport-spam#comments">2 Comments &#187;</a></p> </div> <div class="navigation"> <div class="alignleft"></div> <div class="alignright"></div> </div> </div> <div id="sidebar"> <h2>Latest Posts</h2> <ul id="lastentries"> <li><a href="https://blog.launchpad.net/general/introducing-launchpad-bug-templates" title="Introducing Launchpad Bug Templates">Introducing Launchpad Bug Templates</a></li> <li><a href="https://blog.launchpad.net/general/launchpads-new-homepage" title="Launchpad鈥檚 new homepage">Launchpad鈥檚 new homepage</a></li> <li><a href="https://blog.launchpad.net/general/launchpad-verified-federated-matrix-accounts" title="Launchpad-linked federated Matrix accounts">Launchpad-linked federated Matrix accounts</a></li> <li><a href="https://blog.launchpad.net/ppa/self-service-riscv64-builds" title="Self-service riscv64 builds">Self-service riscv64 builds</a></li> <li><a href="https://blog.launchpad.net/general/introducing-project-scoped-access-tokens" title="Introducing Project-Scoped Access Tokens">Introducing Project-Scoped Access Tokens</a></li> </ul> </div> <div id="footer"> <p> <a href="https://help.launchpad.net/Legal">Terms of use</a> | <a href="https://launchpad.net/feedback">Help improve Launchpad</a> | <a href="https://launchpad.net/faq">FAQ</a> </p> <p><a rel="license" href="http://creativecommons.org/licenses/by/2.0/uk/"> <span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" property="dc:title" rel="dc:type">Launchpad Blog</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://canonical.com/" property="cc:attributionName" rel="cc:attributionURL">Canonical Ltd</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/2.0/uk/">Creative Commons Attribution 2.0 UK: England &amp; Wales License</a>. <img alt="Creative Commons License" style="border-width:0;vertical-align:middle;" src="https://i.creativecommons.org/l/by/2.0/uk/80x15.png" /></a></p> <p>&copy; 2004-2019 <a href="https://canonical.com/" target="_blank">Canonical Limited.</a></p> </div>

Pages: 1 2 3 4 5 6 7 8 9 10