[Mailman-Users] Few questions and details

Mark Sapiro mark at msapiro.net
Tue Jun 29 16:24:53 CEST 2010

On 6/29/2010 12:52 AM, Joni Töyrylä wrote:
> I did some minor tweaking on 2.1.13 Mailman as well as went through most
> of the Finnish translations. Im not sure should i post this to anywhere but
> Here is minor changes to code:
> 1) Mailman/HTMLFormatter.py:402:            '<mm-host>' :
> Utils.get_domain()
> --- To get correct mm_cfg.DEFAULT_URL_HOST instead of server hostname,
> for some reason MailList.InitVars() is either not ran yet or variables
> has been overwritten? Im not sure why mm_cfg.py settings are not working
> here.

I'm not sure what your issue is, but this is not correct. <mm-host> is
supposed to be the email host of the list (the host_name attribute of
the list, self.host_name in the original code), not the web (url) host
returned by Utils.get_domain(). If it is not correct on some list's
options page, check the list's host_name on it's admin General Options page.

> 2) Mailman/MailList.py:187 and Mailman/HTMLFormatter:46
> host_name = Utils.get_domain()
> --- Same as above

Same comment as above. These are intended to be the email host name of
the list, not the web host name.

> 3) In 2.1.11 there is different fontsize in admin/listinfo pages, is
> this same for 2.1.13? If not, this is easily changed in
> MailList/Cgi/admin.py - i changed this for 2.1.11 but i dont remember
> was this in 2.1.13 or did i change this for 2.1.13 too... pff. Example
> at http://stonelake.fi/mailman/listinfo.

I don't understand this question. I can't read the Finnish, but the page
at <http://stonelake.fi/mailman/listinfo> looks like a standard Mailman
listinfo overview with respect to font sizes. See, e.g.

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