Re: [Mailman-Users] DEFAULT_URL not being honored
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vince LaMonica wrote: On Feb 16th, I upgraded from 2.0.13 to 2.1.1 and have just noticed that the value of DEFAULT_URL in mm_cfg.py, which is: DEFAULT_URL = 'https://www.seweb.uci.edu/ucimail/' is not being honored in the footers on the listinfo and admin pages. Check out ~mailman/Mailman/Defaults.py. Here's a quote regarding the URLs: # Mailman needs to know about (at least) two fully-qualified domain names # (fqdn); 1) the hostname used in your urls, and 2) the hostname used in email # addresses for your domain. For example, if people visit your Mailman system # with http://www.dom.ain/mailman; then your url fqdn is www.dom.ain, and # if people send mail to your system via [EMAIL PROTECTED] then your email # fqdn is dom.ain. DEFAULT_URL_HOST controls the former, and # DEFAULT_EMAIL_HOST controls the latter. Mailman also needs to know how to # map from one to the other (this is especially important if you're running # with virtual domains). You use add_virtualhost(urlfqdn, emailfqdn) to add # new mappings. # # 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) # # because otherwise the default mappings won't be correct. If you update this you'll probably also want to look at the fix_url.py script to correct any existing lists. - -- Todd OpenPGP - KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp All decent people live beyond their incomes nowadays, and those who aren't respectable live beyond other peoples'. -- Saki -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl. iD8DBQE+XQ/fuv+09NZUB1oRAps3AKCZUFx0viFJF0jjM+W6JzPTGzGrwQCdGv+9 jRpTKtld+Zat0jq9r+fJcQg= =CZHI -END PGP SIGNATURE- -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] DEFAULT_URL not being honored
My mm_cfg-py reads: (2.1b5) DEFAULT_URL_HOST = 'lists.frontier.net' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) Note the add_virtualhost, not sure if you need this in yous or not. Also, you may need to run fix_url.py to update your list db files. Hope This Helps! Quoting Vince LaMonica [EMAIL PROTECTED]: Hi all, On Feb 16th, I upgraded from 2.0.13 to 2.1.1 and have just noticed that the value of DEFAULT_URL in mm_cfg.py, which is: DEFAULT_URL = 'https://www.seweb.uci.edu/ucimail/' is not being honored in the footers on the listinfo and admin pages. Eg: if you visit: https://www.seweb.uci.edu/ucimail/listinfo/clsgrads You'll notice at the bottom of the page the Overview link points to http://www.seweb.uci.edu/mailman/listinfo which is not where the listinfo page is located [it is located at https://www.seweb.uci.edu/ucimail/listinfo]. Also, on the listinfo page, http://www.seweb.uci.edu/ucimail/listinfo it lists the admin page as: http://www.seweb.uci.edu/mailman/admin which is also not true. Is there another option in mm_cfg.py that needs to change? Thanks for any advice you might have. /vjl/ -- Vince LaMonica UC Irvine, School of Social Ecology W3 Developer * 116 Social Ecology I, Irvine, CA 92697 [EMAIL PROTECTED] http://www.seweb.uci.edu/techsupport Warning: You are logged into reality as root... -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/bhilburn%40frontier.net Bill Hilburn NOC Frontier Internet - This mail sent through frontier.net webmail service! -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] DEFAULT_URL not being honored
On Wed, 26 Feb 2003, Bill Hilburn wrote: My mm_cfg-py reads: (2.1b5) DEFAULT_URL_HOST = 'lists.frontier.net' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) Note the add_virtualhost, not sure if you need this in yous or not. Also, you may need to run fix_url.py to update your list db files. I'm setting up 2.1.1 on a test machine with the lists in 'testlists.reading.ac.uk' and the WWW hostname as 'tl.rdg.ac.uk'. I have [in mm_cfg.py] - 'tl' is substituted for the real name: DEFAULT_EMAIL_HOST = 'testlists.reading.ac.uk' DEFAULT_URL_HOST = 'tl.rdg.ac.uk' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) VIRTUAL_HOST_OVERVIEW = 0 This works fine, except that the link to 'Overview of all tl.rdg.ac.uk' mailing lists' link links to 'testlists.reading.ac.uk/mailman/listinfo' (i.e. uses the DEFAULT_EMAIL_HOST as the web host). If I add: DEFAULT_HOST_NAME = 'tl.rdg.ac.uk' Then this fixes that link, but now all lists are created as '[EMAIL PROTECTED]'. I can correct that by creating a list with a domain name (we don't normally do that because all our lists are in one domain), however, the link to 'NewList administrative interface' et al now points at 'http://testlists.reading.ac.uk/mailman/...' - so that's broken! Looking through the code to HTMLFormatter.py, the GetMailmanFooter() function retrieves the URL of the overview page with Link(Utils.ScriptURL('listinfo'), ...). If I change that to Link(self.GetScriptURL('listinfo'), ...) that fixes it, but is that breaking the multi-domain stuff (is the 'Overview' page suppposed to show lists in all domains - if not, I guess this might be a bug?). Comments and people pointing out my stupidity welcome [although restrict my stupidity to this issue, please]. Thanks in advance, - Bob -- Bob Franklin [EMAIL PROTECTED] +44 (0)118 378 6630 Systems and Communications, IT Services, The University of Reading, UK -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] DEFAULT_URL not being honored
It actually turned out that I needed to add: DEFAULT_URL_PATTERN = 'http://%s/ucimail/' Apparently DEFAULT_URL is MM 2.0.x only, and isn't honored in 2.1.x. The DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST did not need to be set [using Defaults.py's defaults is/was fine]. This might be worth mentioning in the upgrade instructions [there's also an item in the upgrade docs that's out of order - should i submit a 'bug' on sourceforge for the documentation error [i'll be a lot more specific in the bug report, but i'm not sure if documentation errors are worthy of being put into the bug tracking system, so i wanted to ask first]. Thanks, /vjl/ On Wed, 26 Feb 2003, Bill Hilburn wrote: } } My mm_cfg-py reads: (2.1b5) } } DEFAULT_URL_HOST = 'lists.frontier.net' } add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) } } Note the add_virtualhost, not sure if you need this in yous or not. } } Also, you may need to run fix_url.py to update your list db files. } } Hope This Helps! } } } Quoting Vince LaMonica [EMAIL PROTECTED]: } } Hi all, } } On Feb 16th, I upgraded from 2.0.13 to 2.1.1 and have just noticed that } the value of DEFAULT_URL in mm_cfg.py, which is: } } DEFAULT_URL = 'https://www.seweb.uci.edu/ucimail/' } } is not being honored in the footers on the listinfo and admin pages. } } Eg: if you visit: } } https://www.seweb.uci.edu/ucimail/listinfo/clsgrads } } You'll notice at the bottom of the page the Overview link points to } http://www.seweb.uci.edu/mailman/listinfo which is not where the listinfo } page is located [it is located at } https://www.seweb.uci.edu/ucimail/listinfo]. } } Also, on the listinfo page, http://www.seweb.uci.edu/ucimail/listinfo it } lists the admin page as: http://www.seweb.uci.edu/mailman/admin which is } also not true. } } Is there another option in mm_cfg.py that needs to change? } } Thanks for any advice you might have. } } /vjl/ } } -- } Vince LaMonica UC Irvine, School of Social Ecology } W3 Developer * 116 Social Ecology I, Irvine, CA 92697 } [EMAIL PROTECTED] http://www.seweb.uci.edu/techsupport } } Warning: You are logged into reality as root... } } -- } Mailman-Users mailing list } [EMAIL PROTECTED] } http://mail.python.org/mailman/listinfo/mailman-users } Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py } Searchable Archives: } http://www.mail-archive.com/mailman-users%40python.org/ } } This message was sent to: [EMAIL PROTECTED] } Unsubscribe or change your options at } http://mail.python.org/mailman/options/mailman-users/bhilburn%40frontier.net } } } } } Bill Hilburn } NOC Frontier Internet } } - } This mail sent through frontier.net webmail service! } } } -- } Mailman-Users mailing list } [EMAIL PROTECTED] } http://mail.python.org/mailman/listinfo/mailman-users } Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py } Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ } } This message was sent to: [EMAIL PROTECTED] } Unsubscribe or change your options at } http://mail.python.org/mailman/options/mailman-users/vjl%40soceco.uci.edu } -- Vince LaMonica UC Irvine, School of Social Ecology W3 Developer * 116 Social Ecology I, Irvine, CA 92697 [EMAIL PROTECTED] http://www.seweb.uci.edu/techsupport Microsoft is to operating systems security what McDonalds is to gourmet cooking -Marc MERLIN -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org