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

Dave Kliczbor maligree at gmx.de
Thu Apr 8 15:14:42 EDT 2004


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

Hello out there...

I just set up mailman on my Debian woody 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.

I found only one post without answer in the last three months regarding 
such an issue on mailman-users, nothing found in mailman-developers 
(keywords I used: web, host)

I tried posting first on mailman-users, but I got no answer (I suppose 
my question was a bit too technical :-). Even on the bug tracker I 
found nothing and now I'm at the end of my knowledge... (OK, if I learn 
python maybe I could solve the problem, but that's a little bit more 
time-consuming than I could afford...)

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

- -- 
docs on mail serving and spam preventing in 
the courier mail suite: http://da.andaka.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAdaSi9gy0Ccu0VlMRAuacAJ0V/tGPnt0l7w03OBZvfHvj4pwWKwCfVTA7
q7NyBI8yE4+BDTvS3x20048=
=FmPe
-----END PGP SIGNATURE-----



More information about the Mailman-Developers mailing list