Re: [Mailman-Users] Changing site domain name
On 06/10/06, Mark Sapiro [EMAIL PROTECTED] wrote: Chris Puttick wrote: Ok, the problem: http://lists.openarchaeology.net/mailman/listinfo compared with http://lists.openarchaeology.net/mailman/listinfo/mailman mm_cfg: from Defaults import * ## # Put YOUR site-specific settings below this line. DEFAULT_URL_PATTERN = 'http://%s/mailman/' DEFAULT_NNTP_HOST = 'lists.openarchaeology.net' DEFAULT_EMAIL_HOST = 'lists.openarchaeology.net' DEFAULT_URL_HOST = 'lists.openarchaeology.net' MTA = 'Postfix' POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' POSTFIX_MAP_CMD = '/usr/sbin/postmap' DELIVERY_MODULE = 'SMTPDirect' SMTPHOST = 'localhost' SMTPPORT = '25' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) IMAGE_LOGOS = '/mailmanicons/' Any thoughts? I suspect that adding VIRTUAL_HOST_OVERVIEW = Off to the above will fix the symptom. If it does, the underlying problem is that your web server is setting HTTP_HOST (or if HTTP_HOST is unset, SERVER_NAME) to '10.0.10.18' in the environment passed to the Mailman CGIs. Ok, that works. However, AFAICT neither HTTP_HOST nor SERVER_NAME are explicitly set. Setting what I think is the SuSE 10.1 equivalent, APACHE_SERVERNAME (in /etc/sysconfig/apache) does not fix the problem, but does result in Apache generated documents showing lists.openarchaeology.net as its root: http://lists.openarchaeology.net/nopagehere If that doesn't do it, try the following: In the Mailman install directory, give the command bin/withlist -i Then at the first prompt type from Mailman import Utils at the next prompt type Utils.get_domain() Interesting. Following these steps gets me: Utils.get_domain() 'lists.openarchaeology.net' Now I'm confused... I'll use the VIRTUAL_HOST_OVERVIEW = Off setting for now as I'm not assuming this list server will ever be used to hosts lists for something other than the openarchaeology domain. Happy to try other fixes in the interest of furthering human knowledge ;-). and see what it prints. Then type control-D to exit. You can also try setting HTTP_HOST in the environment and then repeating the above. -- Cheers Chris -- http://thehumanjourney.net -- Mailman-Users mailing list Mailman-Users@python.org 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/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Changing site domain name
Hi Now I know this will sound like a didn't read the archives and/or didn't read the FAQ but I did and no solution suggested for similar problems worked. In particular http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.029.htp does not fix the problem: Mailman has been installed on a dedicated clean built box. All lists correctly refer to the actual FQDN of the server in both web and mail addresses and the list server is functional in most respects. However the root/master/? (a better name escapes me but default iseems inappropriate, given it is a correctly configured variable) domain of the installation is stubbornly remaining as the IP address of the machine. I wouldn't mind so much, except the machine is in a DMZ and has a non-routeable IP... All suggestions (other than the entries in the FAQ I've already read and tried ;-) ) welcome. Cheers Chris -- http://thehumanjourney.net -- Mailman-Users mailing list Mailman-Users@python.org 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/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Changing site domain name
Non-routeable as in private address behinded a NATed proxying firewall; the problem is seen if you go to any of the generic pages e.g. lists.my.tld/mailman/listinfo, where the server instead of referring to itself as lists.my.tld refers to itself as ip.ad.dr.ess - if you go to a list specific page the URLs are as expected, except the link for the overview page, which reads correctly as lists.my.tld/mailman/listinfo but links to ip.ad.dr.ess/mailman/listinfo. URLs are also as expected in emails, as are email addresses. Like I say, the list server functions properly, except for this insistence of using the IP address in the base URLs. Chris On 06/10/06, Brad Knowles [EMAIL PROTECTED] wrote: At 2:05 PM +0100 10/6/06, Chris Puttick wrote: However the root/master/? (a better name escapes me but default iseems inappropriate, given it is a correctly configured variable) domain of the installation is stubbornly remaining as the IP address of the machine. Where are you seeing this issue? Is it in the URLs that the users visit when they go to the web pages for the list? Is it in the e-mail addresses that the users see when the messages are delivered? I wouldn't mind so much, except the machine is in a DMZ and has a non-routeable IP... If it's a non-routeable IP address, I don't see how anyone is getting to the web pages or getting e-mail to/from the box. But either way, I would not be at all surprised if this was the problem. Well, this and reverse DNS obviously being broken. -- Brad Knowles, [EMAIL PROTECTED] Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 Founding Individual Sponsor of LOPSA. See http://www.lopsa.org/. -- http://thehumanjourney.net -- Mailman-Users mailing list Mailman-Users@python.org 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/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Changing site domain name
Ok, the problem: http://lists.openarchaeology.net/mailman/listinfo compared with http://lists.openarchaeology.net/mailman/listinfo/mailman mm_cfg: from Defaults import * ## # Put YOUR site-specific settings below this line. DEFAULT_URL_PATTERN = 'http://%s/mailman/' DEFAULT_NNTP_HOST = 'lists.openarchaeology.net' DEFAULT_EMAIL_HOST = 'lists.openarchaeology.net' DEFAULT_URL_HOST = 'lists.openarchaeology.net' MTA = 'Postfix' POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' POSTFIX_MAP_CMD = '/usr/sbin/postmap' DELIVERY_MODULE = 'SMTPDirect' SMTPHOST = 'localhost' SMTPPORT = '25' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) IMAGE_LOGOS = '/mailmanicons/' Any thoughts? Chris On 06/10/06, Mark Sapiro [EMAIL PROTECTED] wrote: Chris Puttick wrote: the problem is seen if you go to any of the generic pages e.g. lists.my.tld/mailman/listinfo, where the server instead of referring to itself as lists.my.tld refers to itself as ip.ad.dr.ess - if you go to a list specific page the URLs are as expected, except the link for the overview page, which reads correctly as lists.my.tld/mailman/listinfo but links to ip.ad.dr.ess/mailman/listinfo. What is your mm_cfg.py setting for DEFAULT_URL_HOST? Also, check your webserver config. Particularly, that thing which in apache looks like RedirectMatch ^/mailman[/]*$ http://example.com/mailman/listinfo -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- http://thehumanjourney.net -- Mailman-Users mailing list Mailman-Users@python.org 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/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Thanks
Title: Thanks To everybody who's contributed to the development of this package: nice work :-) No questions, no problems, just neat. I'd be very willing to contribute my time in the future to documentation (I'd love to help with coding, but it's not my area...). Let me know if I can be of use. Regards Chris Puttick IT Manager Central Manchester City Learning Centre +44 (0)161 212 1972/70