[Mailman-Users] problem with domain name

Richard Barrett r.barrett at openinfo.co.uk
Thu Feb 19 22:02:40 CET 2004


On 19 Feb 2004, at 16:48, Yves Dorfsman wrote:

>
> Hi,
>
> I am trying to setup mailman for an organisation that has a three piece
> domain name, say A.B.org.
>
> In mm_cfg.py, I put:
> DEFAULT_URL_PATTERN = 'http://%s/something/'
> DEFAULT_EMAIL_HOST = 'mailserver.A.B.org'
> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>
>
> When I go on the web to www.A.B.org/something/listinfo, right at the 
> top
> in the blue space it says:
>
> www.A.B.org Mailing Lists
>
> Same when I go to create a mailing list, it says:
> Create a www.A.B.org Mailing List
>
> "www" is a CNAME for the web server where mailman is running, but where
> does it pick it up ? Shouldn't it be just the domain name ?
>

If in doubt read the code. The bit you want is the function 
get_domain() in $prefix/Mailman/Utils.py. It is quicker and easier to 
read the Python code than try to write down the explanation in English 
(or language of your choice).

>
> Thanks.
>
> Yves.
> ----
>                                          
> http://www.cuug.ab.ca/~dorfsmay
>                                          http://www.SollerS.ca
-----------------------------------------------------------------------
Richard Barrett                               http://www.openinfo.co.uk





More information about the Mailman-Users mailing list