[Mailman-Users] host name

Richard Barrett R.Barrett at ftel.co.uk
Thu Jan 24 14:31:11 CET 2002


At 14:14 24/01/2002 +0000, Oliver Egginger wrote:
>You have to change the DEFAULT_HOST_NAME option in the Defaults.py file.
>mm.py don't work in this case, alas.
>
>- oliver
>

No! You should NOT edit Defaults.py. You will regret doing so when you come 
to install an upgrade to Mailman.

If some variable (MAILMAN_OWNER for example) in Defaults.py is defined in 
terms of some other variable (DEFAULT_HOST_NAME) in Defaults.py and you 
redefine the other variable in mm_cfg.py then you should also redefine to 
first variable in mm_cfg.py.

With the example variables, if you redefine DEFAULT_HOST_NAME in mm_cfg.py 
then also redefine MAILMAN_OWNER in mm_cfg.py; in fact you can use the same 
assignment for MAILMAN_OWNER in mm_cfg.py as is used in Defaults.py but it 
will pick up the redefined DEFAULT_HOST_NAME from mm_cfg.py and hence end 
up with a different final value.



> > > I was able to remove the hostname by reconfiguring my sendmail, but the
> > mailing list mainpage
> > .../mailman/admin/listinfo shows the line "(Send questions and comments to
> > mailman-owner at cebu.)"
> > where "cebu" is the host name of my machine, how will I change this to
> > "mailman-owner at lists.codewan.com.ph" or
> > "mailman-owner at codewan.com.ph"?
> > I already edited my mm_cfg.py with the line DEFAULT_HOST_NAME=lists but
> > nothing happened, but it doesnt work?btw the original one in Defaults.py
> > has the value "cebu".
> >
> > Richard Barrett wrote:
> > > At 16:18 24/01/2002 +0800, you wrote:
> > > >i successfuly setup and configure mailman on my server, but the problem
> > > > is the return address
> > > >reflect the host name of my machine instead of the "lists" hostname. I
> > > >checked my sendmail.cf file
> > > >but masquerading is on. Is there any way on mailman configuration to
> > > >correct this?
> > >
> > > Assuming MM 2.0.x:
> > >
> > > Check the hostname defaults set up in $prefix/Mailman/Defaults.py and
> > > override those you don't like with revised assignments in
> > > $prefix/Mailman/mm_cfg.py - see the $build/INSTALL document for more info
> > > on the rationale for this way of working
> > >
> > > For any existing list you can edit (very carefully) the last couple of
> > > options on the General Options page of the admin web GUI
> > >
> > > >--
> > > >Lito A. Lampitoc
> > > >Foundation for Communication Initiatives
> > > > phone:+63(2)8941345 CodeWAN
> > > >Project
> > > ><http://www.codewan.com.ph>http://www.codewan.com.ph
> > > >--
> > > >"If you think you're good, you're not."
> >
> > --
> > Lito A. Lampitoc
> > Foundation for Communication Initiatives                phone:+63(2)8941345
> > CodeWAN Project                                 http://www.codewan.com.ph
> > --
> > "If you think you're good, you're not."
>
>----------------------------------------
>Content-Type: text/html; charset="us-ascii"; name="Anhang: 1"
>Content-Transfer-Encoding: 7bit
>Content-Description:
>----------------------------------------
>
>--
>Oliver Egginger
>FH Giessen-Friedberg
>DV-Zentrum
>Wiesenstrasse 14
>35390 Giessen
>Tel. +49 641 309-1283
>Fax  +49 641 309-2908
>Mail: Oliver.Egginger at dvz.fh-giessen.de
>
>
>****************************************************
>Sprechzeiten des DV-Zentrums fuer
>E-Mail-Angelegenheiten:
>
>Mo      11:30 - 15:30 Uhr
>Di      13:15 - 15:30 Uhr
>Do      9:30 - 16:00 Uhr
>Fr      9:45 - 11:45 Uhr
>****************************************************
>
>------------------------------------------------------
>Mailman-Users maillist  -  Mailman-Users at python.org
>http://mail.python.org/mailman/listinfo/mailman-users





More information about the Mailman-Users mailing list