[Mailman-Users] Mailman - trouble creating a second list at anexisting virtual host

Mark Sapiro mark at msapiro.net
Wed Dec 1 01:51:59 CET 2010


Dean Suhr wrote:
>
>Yes, I contributed to the problem because I like to use MLDfamily (mixed
>case) in the user viewable emails and tend to follow that behind the scenes.
>
>Right now I have manually entered the aliases into virtual-mailman. You
>indicated this could be a problem with the next run of genaliases.


Yes, because genaliases will remove all entries from aliases and
virtual-mailman and then rebuild aliases for all lists and
virtual-mailman for only those lists whose host_name is found in
POSTFIX_STYLE_VIRTUAL_DOMAINS.

The above is the key here. If your domains are mixed case in
add_virtualhost() and POSTFIX_STYLE_VIRTUAL_DOMAINS, creating the list
and possibly running fix_url will produce a list with its host_name
attribute lower cased which will not match
POSTFIX_STYLE_VIRTUAL_DOMAINS and thus will not create virtual-mailman
entries.

If however you then manually change host_name on the list admin General
Options page (or via config_list) to match the case of the domain in
POSTFIX_STYLE_VIRTUAL_DOMAINS and run genaliases, that will create the
virtual-mailman entries.

>The original list and the new one are both at lists.MLDfamily.org. (note
>CAPS).
>
>I ran genaliases and the list remained intact with entries updated in
>virtual-mailman.  Should I stand down and assume my rickety path to
>functionality will hold up - or should I delete the list and start over?


Presumably, you did what I suggest above, i.e., change the case of the
list's host_name before running genaliases.


-- 
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