Wrong host_name when creating list via webinterface
-----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-----
On Apr 8, 2004, at 3:14 PM, Dave Kliczbor wrote:
I just set up mailman on my Debian woody box, using the mailman 2.1.4-2.backports.org debian package from backports.org.
I haven't looked at more recent mailman packages, but I've been largely unimpressed with the debs I've seen in the past -- there's so much munging in there that sometimes it causes more problems than it "solves" through standardizing. Not sure why. I don't know how practical this is for you, but you might consider trying from source if you've got the time (It's fairly easy to do, and the instructions were pretty good the last time I checked).
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...)
Have you submitted a bug? It could just be a bug. :)
Anyhow, I'm afraid I don't actually know the answer to your question, but if you once again don't get an answer, I suggest you put the problem into the bug tracker. Then, someone will at least try to verify the bug so you'll have some help.
Terri
participants (2)
-
Dave Kliczbor
-
Terri Oda