
I get a 404:
thufir@dur:~$ thufir@dur:~$ mail -f Maildir/ "/home/thufir/Maildir/": 3 messages list: mailman ? q Held 3 messages in /home/thufir/Maildir/ thufir@dur:~$ thufir@dur:~$ ll /etc/apache2/sites-enabled/mailman lrwxrwxrwx 1 root root 24 Dec 30 20:06 /etc/apache2/sites-enabled/mailman -> /etc/mailman/apache.conf thufir@dur:~$ thufir@dur:~$
even though dovecot-postfix seems to be working well with mailman, so far as I can tell.
The fine manual says:
"*Problem:* All Mailman web pages give a 404 File not found error.
*Solution:* Your web server has not been set up properly for handling Mailman's CGI programs. Make sure you have:
configured the web server to give permissions to $prefix/cgi-bin"
Isn't there a different URL I can use instead? I seem to recall something along these lines.
thanks,
Thufir

thufir writes:
Isn't there a different URL I can use instead?
Sure. Those URLs are chosen because they require minimal setup in many webservers, but the base URLs are configurable.
You can use any URL you want, but (1) you need to teach your webserver to invoke the CGI script (in Apache this would be a ScriptAlias) and where to find logos and stuff (resp. Alias) and (2) you need to tell Mailman about it in mm_cfg.py:
#-------------------------------------------------------------
# If you change these, you have to configure your http server
# accordingly (Alias and ScriptAlias directives in most httpds)
DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
IMAGE_LOGOS = '/images/mailman/'
Also, if you're using virtual hosts you may need to fiddle with bin/fix_url.py.

thufir writes:
Isn't there a different URL I can use instead?
Sure. Those URLs are chosen because they require minimal setup in many webservers, but the base URLs are configurable.
You can use any URL you want, but (1) you need to teach your webserver to invoke the CGI script (in Apache this would be a ScriptAlias) and where to find logos and stuff (resp. Alias) and (2) you need to tell Mailman about it in mm_cfg.py:
#-------------------------------------------------------------
# If you change these, you have to configure your http server
# accordingly (Alias and ScriptAlias directives in most httpds)
DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
IMAGE_LOGOS = '/images/mailman/'
Also, if you're using virtual hosts you may need to fiddle with bin/fix_url.py.
participants (2)
-
Stephen J. Turnbull
-
thufir