[Mailman-Users] http / https interfaces

Mark Sapiro mark at msapiro.net
Mon Nov 21 02:39:15 CET 2011

Pierrik Le Guennec - Domicile wrote:
>I have installer last maiman on debian lenny, by apt-get.

First, please see the FAQ at <http://wiki.list.org/x/OIDD>.

>There are 404 errors for interfaces on a domain.

Is the above a typo? Do you mean
http://<domain>/cgi-bin/mailman/listinfo/<list>? In any case, these
shouldn't be a generic 404. In recent Mailman the "No such list
<domain>" message would be returned with a 404 status, but it would
clearly be a Mailman page.

There is apparently something wrong with either the ScriptAlias (or
equivalent) in your web server config, or maybe your
DEFAULT_URL_PATTERN is wrong, or maybe its the http/https issue below.

>There are mail warnings :
>Nov 18 13:38:02 <server> postfix/postmap[5085]: warning: 
>/var/lib/mailman/data/virtual-mailman.db: duplicate entry: "<list>@<domain>"
>(and other aliases)
>/var/lib/mailman/data/aliases seems ok.
>But /var/lib/mailman/data/virtual-mailman has a problem :
>there are several lists of <domain> which are not deleted.
>I tried to delete and recreate the list, same problem. And same problem 
>with all lists on that domain.

Try running Mailman's bin/genaliases to completely rebuild aliases and
virtual-mailman. If there are multiple entries for a list, deleting
and recreating the list will remove at most one of them.

>After reinstalling mailman, I have almost the same problem.
>Now, there are no errors with virtual-mailman.db. But if I delete a list 
>of this domain, it stays in virtual-mailman. For others domains, no problem.

Possibly its domain (host_name) is no longer in
POSTFIX_STYLE_VIRTUAL_DOMAINS or you changed its host_name via the web
admin interface.

>I have found that web admin/users interfaces are https URLs for the 
>domain mail of this list, and not http URL.
>And the links from admin/users interfaces are https URLs, and coded as 
>http URLs.
>In mm_cfg.py, there is
>DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
>And no https directive in <domain>.vhost

If you want https URLs, see the FAQ at <http://wiki.list.org/x/7oA9>.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list