<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nicolas Kuttler &#187; mailman</title>
	<atom:link href="http://www.nkuttler.de/tag/mailman/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nkuttler.de</link>
	<description>WordPress Services, IT Services</description>
	<lastBuildDate>Wed, 28 Jul 2010 23:49:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Mailman, HTTP POST and 301 redirects</title>
		<link>http://www.nkuttler.de/2008/11/09/mailman-and-301-redirects/</link>
		<comments>http://www.nkuttler.de/2008/11/09/mailman-and-301-redirects/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 18:01:38 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mailman]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de//?p=426</guid>
		<description><![CDATA[Why my mailman admin interface stopped working. Nothing happened when I submitted any of the forms. And how I fixed it.]]></description>
			<content:encoded><![CDATA[<p>After changing my domain configuration a little (do 301 redirects from <tt>nkuttler.de</tt> to <tt>www.nkuttler.de/</tt> 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.<span id="more-426"></span></p>
<p>After some digging I found the problem: 301 redirects don&#8217;t pass POST parameters. And when I configured the mailing list I set the domain to <tt>nkuttler.de</tt>. So mailman sets the form action to <tt>http://nkuttler.de/foo/bar</tt>, this gets redirected to the correct domain, but the POST data is gone. How do you change the web host? I couldn&#8217;t find anything in the admin interface, it looks like you have to do it on the command line.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>mailman<span style="color: #000000; font-weight: bold;">/</span>bin
.<span style="color: #000000; font-weight: bold;">/</span>withlist <span style="color: #660033;">-l</span> <span style="color: #660033;">-r</span> fix_url list <span style="color: #660033;">-u</span> www.nkuttler.de<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>This is the precise command for <a href="http://www.debian.org">Debian</a>, on other distros you&#8217;ll have to find the correct location.</p>
<p><b>Update</b>: I&#8217;m not quite sure how I missed it, but the <tt>host_name</tt> parameter should allow you to change this setting as well. For other questions about the default URL you can also read the <a href="http://wiki.list.org/pages/viewpage.action?pageId=4030592">Where can I change a list or the default URL used for the web interface?</a> FAQ entry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2008/11/09/mailman-and-301-redirects/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
