Mailman, HTTP POST and 301 redirects

After changing my domain configuration a little (do 301 redirects from to etc.) I noticed that my mailman web interface stopped working. I tried to moderate, change settings etc., but once the form was submitted nothing happened.

After some digging I found the problem: 301 redirects don't pass POST parameters. And when I configured the mailing list I set the domain to So mailman sets the form action to, this gets redirected to the correct domain, but the POST data is gone. How do you change the web host? I couldn't find anything in the admin interface, it looks like you have to do it on the command line.

cd /var/lib/mailman/bin
./withlist -l -r fix_url list -u

This is the precise command for Debian, on other distros you'll have to find the correct location.Update: I'm not quite sure how I missed it, but the host_name parameter should allow you to change this setting as well. For other questions about the default URL you can also read the Where can I change a list or the default URL used for the web interface? FAQ entry.


  1. avatar
    wrote this comment on

    Isn't it better to drop the www than to add it in? It's superfluous.

  2. avatar
    wrote this comment on

    Well, of course you can do whatever you like better. I just like having having the www subdomain. :-D


Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.
DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityPianoFontGnuPGThunderbirdJenkinshome-assistant-logo