FAQ
after many, many iterations and googling left and right, we've finally
made some progress on our email setup -- but mailman's web interface
keeps generating absolute links off-site!

- debian (testing/unstable)
- exim4-daemon-heavy (4.61-1 via apt-get)
- mailman (2.1.7-2.1.8rc1-1 via apt-get)
- vexim (downloaded & installed 2.0.1)

all's well EXCEPT...

within the web interface for mailman
(http://site.name/cgi-bin/mailman/*) ALL admin links are absolute, and
point to a DIFFERENT virtual host on the same server. it's all written
in python, and from what i can tell the culprit is in ScriptURL inside
Mailman/Utils.py: in particular, when viewing
https://site.name/cgi-bin/mailman/admin/test to administer the TEST
list, all links are absolute, pointing to
http://other.site/cgi-bin/mailman/admin/test/* -- no https, and a
different site.

we added
DEFAULT_HOST_NAME = 'site.name'
DEFAULT_URL = 'https://site.name'
to /etc/mailman/mm_cfg.py (after seeing the comments in
/usr/lib/mailman/Mailman/Default.py and confirming it in MailList.py)
to no effect. [maybe the python files aren't being recompiled?
timestamps indicate .pyc are being recompiled from the .py files.]

we ran 'hostname site.name' to fix it in ram, and then restarted
mailman, exim, and apache. no good.

we reset /etc/hostname and rebooted the computer, no good.

any ideas?

--
will trillich
"Their is five errers in this sentance."

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 7 | next ›
Discussion Overview
groupmailman-users @
categoriespython
postedMay 8, '06 at 4:52a
activeMay 10, '06 at 2:07p
posts7
users3
websitelist.org

People

Translate

site design / logo © 2022 Grokbase