Canonical Voiceshttp://voices.canonical.com2011-10-01T04:47:41ZLaunchpad Blog: Launchpad now accepts mail commands from gmail2011-10-01T04:47:41ZMartin Poolnospam@nospam.comhttp://blog.launchpad.net/general/gmail-dkim<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>