Mailman URLs

3 posts / 0 new
Last post
#1 Sun, 12/21/2008 - 16:58
peterloron

Mailman URLs

Is there a way to access mailman (user signup and/or admin) without needing to use the virtualmin URL:

https://domain:10000/virtualmin-mailman/unauthenticated/admin.cgi/listname

I tried just using "http://domain/mailman", but I got redirected to this:

https://domain:10000/virtualmin-mailman/unauthenticated/.cgi

Suggestions?

Thanks!

-Pete

Sun, 12/21/2008 - 17:45
WolfstarHosting

Try just "http://domain/virtualmin-mailman/unauthenticated/admin.cgi/listname"

... I'm not sure if that "unathenticated" needs to be in there, either.

Sun, 12/21/2008 - 19:48 (Reply to #2)
Joe
Joe's picture

<div class='quote'>Try just &quot;http://domain/virtualmin-mailman/unauthenticated/admin.cgi/listname&quot...

That won't get you there. &quot;virtualmin-mailman&quot; is a Webmin module...if you aren't talking to Webmin, it'll just give an error.

<div class='quote'>Is there a way to access mailman (user signup and/or admin) without needing to use the virtualmin URL</div>

Yes, but it is, unfortunately, rather tricky to get right.

Mailman is not friendly to running in a virtual hosting environment, in particular the Mailman CGI scripts will not run under suexec. So, you can either setup a server-wide central alias that is not subject to suexec (often this is kinda already setup--the RPM on CentOS and Fedora has a configuration file in /etc/httpd/conf.d/mailman.conf that'll do part of what you need), or setup a ScriptAlias on a path in each VirtualHost that is not subject to suexec. I recommend the former, because the latter has interesting security and sanity implications.

To do the latter, just create a new domain, something like &quot;lists.example.com&quot;, and disable suexec for that domain. Then setup the ScriptAlias and such for that domain like you see in the mailman.conf (or however you like it). The important thing is that Mailman cannot run under suexec.

Note that this will allow your users to easily see all lists on the system--even the ones they don't &quot;own&quot;. Again, Mailman is not virtual hosting friendly.

--

Check out the forum guidelines!

Topic locked