Yet another "mailman on a nonstandard port" question
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Our ISP, like many others, does not allow inbound port 80 (in fact, they disabled it recently without so much as telling us, before which I had run a web server rather successfully... cheeky bastards).
I've set up Apache to listen on a nonstandard port (312) and configured Mailman 2.1.3 to do the same.
I have replaced my host with foo.com. Here is my mm_cfg.py:
MTA = 'Postfix' IMAGE_LOGOS = '/icons/' DEFAULT_EMAIL_HOST = 'mail.foo.com' DEFAULT_URL_HOST = 'foo.com' DEFAULT_URL_PATTERN = 'http://%s:312/mailman/' PUBLIC_ARCHIVE_URL = 'http://%(hostname)s:312/pipermail/%(listname)s' # add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
I have run the fix_url script on both lists currently on the server (mailman and testinglist), and restarted mailman with mailmanctl. When I connect to my host, I get the strangest thing. The links to both lists are correct.
However, some links are horribly borked, for example:
Create a new mailing list, which should be http://foo.com:312/mailman/create, is:
http://foo.com:312/mailman/http://foo.com:312:312/mailman/create
Mailing list overview page is:
http://foo.com:312/mailman/http://foo.com:312:312/mailman/listinfo
:O
Likewise my email, which should be at DEFAULT_EMAIL_HOST, is misreported ( the mailto link is likewise broken )
" Send questions and comments to mailman@foo.com:312 "
What could be responsible for this? I hope I've given you enough information to at least scratch your heads for a bit.
Thanks for your help.
- Mike Baehr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin)
iD8DBQE/715eEE/935L/FjcRAirzAJ4tPBRUiJpPR+kp3MXCeR1KoOnU7gCdFSxu RIlZZ2+9TbB+YmdC0TqEBBk= =Rk0C -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Michael Baehr wrote:
I've set up Apache to listen on a nonstandard port (312) and configured Mailman 2.1.3 to do the same.
I have replaced my host with foo.com. Here is my mm_cfg.py:
MTA = 'Postfix' IMAGE_LOGOS = '/icons/' DEFAULT_EMAIL_HOST = 'mail.foo.com' DEFAULT_URL_HOST = 'foo.com' DEFAULT_URL_PATTERN = 'http://%s:312/mailman/' PUBLIC_ARCHIVE_URL = 'http://%(hostname)s:312/pipermail/%(listname)s' # add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
You show here that you've got add_virtualhost commented out. So, according to the comments in Defaults.py, the values you entered in mm_cfg.py won't get used properly:
# If you don't need to change DEFAULT_EMAIL_HOST and
# DEFAULT_URL_HOST in your mm_cfg.py, then you're done; the
# default mapping is added automatically. If however you change
# either variable in your mm_cfg.py, then be sure to also include
# the following:
#
# add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
I would be curious to know what the settings for DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST are in Defaults.py.
Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
You have to be 100% behind someone, before you can stab them in the back.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.
iD8DBQE/72Eouv+09NZUB1oRAjY/AJwID595mhX33BOKwIVCl1J/D7hvWwCg/JH7 aPUyLacOZzFCxK+NQSHxpg0= =Q2Pp -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sunday, December 28, 2003, at 05:03 PM, Todd wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Michael Baehr wrote:
I've set up Apache to listen on a nonstandard port (312) and configured Mailman 2.1.3 to do the same.
I have replaced my host with foo.com. Here is my mm_cfg.py:
MTA = 'Postfix' IMAGE_LOGOS = '/icons/' DEFAULT_EMAIL_HOST = 'mail.foo.com' DEFAULT_URL_HOST = 'foo.com' DEFAULT_URL_PATTERN = 'http://%s:312/mailman/' PUBLIC_ARCHIVE_URL = 'http://%(hostname)s:312/pipermail/%(listname)s' # add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
You show here that you've got add_virtualhost commented out. So, according to the comments in Defaults.py, the values you entered in mm_cfg.py won't get used properly:
# If you don't need to change DEFAULT_EMAIL_HOST and # DEFAULT_URL_HOST in your mm_cfg.py, then you're done; the # default mapping is added automatically. If however you change # either variable in your mm_cfg.py, then be sure to also include # the following: # # add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
I would be curious to know what the settings for DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST are in Defaults.py.
Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
You have to be 100% behind someone, before you can stab them in the back.
I remember disabling that in a vain attempt to debug. After reenabling it, running fix_url on both lists, and restarting, the problem still persists.
The values I have defined in defaults.py are:
DEFAULT_EMAIL_HOST = 'foo.com' DEFAULT_URL_HOST = 'foo.com' DEFAULT_URL_PATTERN = 'http://%s/mailman/'
I must note that when I go to the listinfo page for any particular list, the mailto is correct, for example testinglist@mail.foo.com.
Why is it using my DEFAULT_EMAIL_HOST for some emails but not others? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin)
iD8DBQE/72bLEE/935L/FjcRApV0AJ0QZoSakcjt5gLP1ayHS/6i63Bb9QCgxAIf kmXO4zqG2ipkfmNAKp4GVuc= =36OT -----END PGP SIGNATURE-----
participants (2)
-
Michael Baehr
-
Todd