Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm running Mailman 2.1.16rc2 on Ubuntu 12.04. That's the most recent version available via apt-get install. Mailman recently released version 2.1.18 with some new features to deal with fallout from Yahoo's new DMARC policy for email.

Is there any way to install this latest version via apt-get? I'd like to continue using apt-get updates to find new versions of Mailman in the future, but the version I want is not currently available in the standard repositories.

share|improve this question

3 Answers 3

You can use utopic's Mailman 2.1.18 package on trusty. (Source: I am using it, for precisely this reason, see Background below.)

To install it via apt-get, do the following:

  1. First, configure the utopic repository by creating a file /etc/apt/sources.list.d/utopic.list with these contents:

    deb http://archive.ubuntu.com/ubuntu utopic main restricted universe multiverse
    
  2. Next, configure the system so that it does not automatically install packages from utopic (since otherwise you will upgrade to utopic the next time you run dist-upgrade). Create a file /etc/apt/preferences.d/utopic with these contents:

    Package: *
    Pin: release a=utopic
    Pin-Priority: 100
    
  3. Finally, install the mailman package, explicitly instructing apt-get to use the utopic version:

    apt-get update && apt-get install mailman/utopic
    

Caution

Using packages from a newer release on an older release is not supported. If something goes wrong with this process you will likely be on your own bug-wise. However, I can confirm that my Mailman lists work after doing this.

Upgrading

You should remove the /etc/apt/sources.list.d/utopic.list and /etc/apt/preferences.d/utopic files before attempting any upgrade to a new version of Ubuntu from trusty.

Sources

These are based on the Ubuntu Backport instructions, substituting "utopic" for "trusty-backports"

Background

I also wanted 2.1.18, because the "ALLOW_FROM_IS_LIST = Yes" feature in 2.1.16 is list-wide. I don't want to re-write everyone as "from is list", just Yahoo users and others with a DMARC p=reject policy. 2.1.18 has a per-sender feature accessible from Privacy options → Sender filters in an individual list's admin interface.

share|improve this answer

It's not possible to install the latest version of mailman(2.1.18) via apt-get until the repositories are updated.

The current version of mailman package avilable in the main repository is 2.1.16-2.

$ apt-cache policy mailman
mailman:
  Installed: (none)
  Candidate: 1:2.1.16-2
  Version table:
     1:2.1.16-2 0
        500 http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty/main amd64 Packages
share|improve this answer

Just add the following line to /usr/lib/mailman/Mailman/mm_cfg.py

ALLOW_FROM_IS_LIST = Yes

Then a new option from_is_list will appear on each list's "General Options" page.

share|improve this answer
1  
Can you post a link to some reference? An uptodate manpage or release notes or some official tutorial/guide? –  muru Sep 22 at 20:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.