[Mailman-Users] Wrong host_name when creating list via webinterface

Dave Kliczbor maligree at gmx.de
Wed Apr 7 22:54:46 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello out there...

I just set up mailman on my Debian box, using the mailman 
2.1.4-2.backports.org debian package from backports.org.

Everything seems to be ok, except one tiny bit... If I create a new list 
via webinterface, the wrong hostname is used (namely 'domain.tld')-- if 
I create it via command line, the right hostname is used (namely 
'lists.domain.tld').
Nothing concerning my mailing lists is associated with 'domain.tld', 
everything, including web traffic, has to use 'lists.domain.tld'. As a 
result, I put 'lists.domain.tld' everywhere I could find before even 
starting mailman the very first time.

I dove a bit further in this issue, but all I could find was that the 
host_name config variable has been set inproperly when using the 
webinterface to create a list. I even used the deprecated 
DEFAULT_HOST_NAME variable in mm_cfg.py, but no result. I still have to 
manually set the host_name in the list option page after creating.

My mm_cfg.py:
- ----
DEFAULT_URL       = 'https://lists.domain.tld/cgi-bin/mailman/'
DEFAULT_EMAIL_HOST = 'lists.domain.tld'
DEFAULT_URL_HOST = 'lists.domain.tld'
IMAGE_LOGOS       = '/images/mailman/'
USE_ENVELOPE_SENDER = 0
DEFAULT_SEND_REMINDERS = 0
DEFAULT_HOST_NAME = 'lists.domain.tld'
HOST_NAME = 'lists.domain.tld'
MAILMAN_SITE_LIST = 'mailman'
PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
DEFAULT_URL_PATTERN = 'https://%s/cgi-bin/mailman/'
PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s'
DEFAULT_SERVER_LANGUAGE = 'de'
VIRTUAL_HOSTS.clear()
add_virtualhost('lists.domain.tld')
- ----

cya
 Dave KLiczbor
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAdGqW9gy0Ccu0VlMRApXLAJ0TAgO09aXUJ/MNZbG9TnQYEHHzmgCfWqO1
2Yt3snWFAGnEZRniFn2SHDM=
=1PvR
-----END PGP SIGNATURE-----




More information about the Mailman-Users mailing list