Mailman Developer Resources
Contributing to Mailman, step 1: Bazaar and Launchpad
Mailman's source code is published in a publicly available revision control system called Bazaar available through the code hosting and open source development service called Launchpad. On June 22, 2007, we switched from using Subversion on SourceForge to the new repository, and while the old Subversion repository will still be available read-only, no new updates will be committed to it. Hosting the source code on Bazaar provides both the core developers and unofficial third party extensions much more freedom to hack on Mailman.
Here is more detail on how to develop Mailman code using Bazaar and Launchpad.
Here are a list of important official and unofficial branches.
Contributing to Mailman, step 2: Contribution workflow process
- A developer has an idea for an enhancement. They describe it here and we can discuss general design issues, coding suggestions, decomposition of work into branches, etc. For higher bandwidth discussions we can use irc (#mailman channel on irc://irc.freenode.net).
- The Mailman community may be able to indicate in a non-binding way whether an idea is likely to be accepted, which can help the potential contributor decide to keep working with that in mind, or continue on however they like. (This being open source and bzr being a DVCS, everyone is free to do whatever they want.)
- If the idea is appropriate for Mailman, FSF must get copyright assignments from the developer. See below. Do this early, since it can take some time to get all the paperwork to the FSF.
Branch development guidelines
- Branches should be self-contained: Include documentation, a NEWS entry, and for Mailman 3, include tests. Ideally, there would be one bug for every branch.
- Branches should be as small as possible. The smaller the branch the easier it is to review. For Launchpad, we have a strict 800 line diff limit on branches, since anything beyond that gets very difficult and time consuming to review.
Branch review and merge
- When a branch is ready for review, create a merge proposal for it and email the Mailman devel list.
- A Core Mailman developer will review the code. (For Mailman 2.x, it will most likely be Mark. For Mailman 3 it will be Barry.)
- Once we've approved the branch, either Mark or Barry will merge it into the official trunks. Currently only a few of us have write permission to the official branches.
Contributing to Mailman, step 3: Copyright assignment
Mailman is a GNU project with the majority of the copyrights being held by the Free Software Foundation. We therefore request that developers who contribute code, assign their copyrights in their Mailman contribution to the FSF. To do this, you first need to submit a GNU copyright assignment request form containing some basic information, and then fill out the form that the FSF sends you. Please let us knowafter you've sent the second form so that we can track your contribution. The FSF often doesn't tell us in a timely manner when such forms have been received.
Here are the collection of resources for people interested in the development of Mailman.
Initiatives and proposals
- New Logos
- MemberAdaptor Semantics
- Improved Logging
- Web Interface
- Modern Archiving
- Stable URLs
- REST Interface
Other developer information
Mailman is a GNU project with the majority of the copyrights being held by the Free Software Foundation. We therefore request that developers who contribute code, assign their copyrights in their Mailman contribution to the FSF. To do this, you first need to submit a GNU copyright assignment request form containing some basic information, and then fill out the form that the FSF sends you. Please let us know after you've sent the second form so that we can track your contribution. The FSF often doesn't tell us in a timely manner when such forms have been received.
Relevant RFCs, references, and standards
Here are some useful RFCs, references and drafts:
- A Highly Scalable Electronic Mail Service Using Open Systems (Christenson, et al)
- Sendmail Performance Tuning (Christenson)
- Mailbox Format Characteristics (Crispen)
- RFC 3834 - Recommendations for Automatic Responses to Electronic Mail
- RFC 5064 - The Archived-At Message Header Field draft
- RFC 2033 - Local Mail Transfer Protocol
- RFC 4871DomainKey Identified Mail (DKIM)
- RFC 1893 - Enhanced Mail System Status Codes
- RFC 2034 - SMTP Service Extension for Returning Enhanced Error Codes
- Bounce Address Tag Validation (BATV)
- Extensible Format for Email Feedback Reports
- Anti-spam and anti-backscatter
- [A talk given at a UK Unix User Group meeting. Look for the 5th abstract on this page.
- The inevitable "...considered harmful" article.
- UK Joint Academic Network (JANet) provides network connectivity and services for UK
HE institutions has guidance to victims of backscatter.
- ...and to system adminstrators Spam Bounces Considered Harmful.
- Bounce Address Tag Validation (BATV)
- Mailman's own recommendations for controlling spam