Mailman url host

Yet another “note to self” type post. I was just fumbling around with Mailman, and for some reason the web frontend was always redirecting me to, while I had been working on the options at For some other reason that I didn’t really look into, even though my server redirects to anyway, no changes were persisted that way.

I was additionally confused because my configures the default url host to explicitly. I tried hacking around in the DEFAULT_URL_PATTERN, which has a %s placeholder, but when I took that out and replaced with directly, I got an error in the web frontend.

After a while I found out that the url host is in fact configured with the list (not entirely sure what purpose this serves — seems to me like a per-machine config would suffice). More importantly, contrary to appearances the DEFAULT_URL_HOST set up in doesn’t seem to play any role in this whatsoever. Previously I had set up my new list like this:


I fixed my problem now by configuring the url host explicitly on list creation:

rmlist -a mylist
newlist -u

Weird, but apparently necessary.

3 Comments on Mailman url host

  1. Laurent Lesage // February 17, 2010 at 12:18 pm // Reply


    your post helped me solve the same problem. But I found sthg more appropriate afterwards and just wanted to let let you know. There is a general tools to interact with the ‘lists’ objects : withlist. For fixing url problems, it may ne used with [/usr/lib/mailman/bin/] More infirmation in the latter file.


    Best regards



  2. Hi Laurent,

    Thanks for that hint – I’ll have a look when I have a bit more time!


  3. Philipp Meier // October 25, 2012 at 12:35 pm // Reply

    Fixes all lists:

    withlist -l -a -r fix_url


Leave a Comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s