Not logged in - Log In / Register

Launchpad Mail

This page tells you how email in Launchpad is handled, how to configure mail, and how to inject sample data into mailing list archives. Please help us improve this documentation, and contact us if you have questions.

There are various kinds of emails in Launchpad:

  1. Mailing lists (represented by Launchpad teams). A mailing list has an address, archives (, and an administrative interface ( Launchpad uses Mailman to process these kinds of mails.

  2. Emails sent from one user to another (that is, an email sent "by" Launchpad, but really sent by user Alice when Alice uses the form to contact user Barry.

  3. Emails sent by Launchpad itself, such as emails sent to subscribers when a bug is changed.
  4. Emails received by Launchpad itself, such as emails sent by users to manipulate the bug tracker.

We should document all these kinds of email here, but right now this page is really in draft state, so it's just a grab bag of various information. We'll continue to improve it; please help us if you can.

Configuring Mail

Outgoing mail is configured using configs, so you'll need a config that puts outgoing mail somewhere you can see it. Like so:

WARNING: this configuration info may be outdated; it's taken from documentation that was last modified in Sep 2008:

       <mail:testMailer name="test-mailer" />
       <mail:queuedDelivery permission="zope.SendMail"
           queuePath="/var/tmp/launchpad_mailqueue" mailer="barry" />

You can then specify the config to make:

   make LPCONFIG=+abentley run_all

Mailing List Archives

In the course of working on bug #357775 (mailing list archive UI improvements), we used these steps to test the new archive interface code:

  1. Start launchpad.test with 'make run_all'. (See Getting and Running.)

  2. Log in to launchpad.test as "" (this test user should already exist, and have the appropriate administrative privileges).

  3. Create a new team mltest.

  4. Create a mailing list for that team.
  5. Approve the mailing list at https://launchpad.test/+mailinglists.

  6. Inject the sample data, which you get from

    1. tar zxfv lp-ml-test-data.tar.gz

    2. cd lp-ml-test-data/

    3. ./ ## (while launchpad.test is running, of course) ##

      There are 999 messages in the data. They're originally from the Emacs Devel mailing list archive, but although I've left the names the same, the sender ("From:") addresses have all been replaced with <>, so they will successfully load into a list whose only owner/subscriber is If you have any problems loading the messages, try:

            ls -lR /var/tmp/mailman/qfiles    (it should be empty)
            tail -f /var/tmp/mailman/logs/*
  7. Visit the archive: http://lists.launchpad.test/mltest/maillist.html

You should see the first of five index pages there. Click on the "go to Thread Index" link to make sure the thread index is working too (http://lists.launchpad.test/mltest/threads.html).

See the original merge proposal for details.

Mail (last edited 2019-05-28 23:56:46 by cjwatson)