Re: [Mailman-Users] Using Mailman over SSH-Tunnel
On 11/28/06, Patrick Bogen [EMAIL PROTECTED] wrote: On 11/28/06, Dark Servant [EMAIL PROTECTED] wrote: Hm.. what exactly does the fix_url script do? Changing the URLs on the interface as I want? It changes the URLs on the pages to match the current config. Am I right that setting the DEFAULT_URL_PATTERN to something like http://localhost:8080/mailman; will work for me, as long people always forward port 8080? This isn't exactly right, but you've got the general idea. -- - Patrick Bogen Ok.. after some twiddling, I came up with this configuration: mm_cfg.py: DEFAULT_URL_PATTERN = ' http://localhost:8080/%s/mailman/http://localhost:8080/%25s/../mailman/ ' add_virtualhost('localhost','lists.foo.com') I also had to add lists.foo.com/pipermail lists.foo.com/mailman as aliases to http.conf The virtualhost allows me to create [EMAIL PROTECTED] lists using the localhost-ssh-tunnel. That seems to work on first look. Anyone already sees some problems I may face soon? David -- 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] Using Mailman over SSH-Tunnel
Hello, On Tue, 28 Nov 2006, Dark Servant wrote: The mailinglists works, but the admininterface gives me a headache. The Webserver is not accessible from the outsite, so I have to use a SSH-Tunnel like ssh -L 8080:localhost:80 [EMAIL PROTECTED] Going to, for example, http://localhost:8080/mailman/private/mailman/listinfo/knownlist, shows me the listinformation for a known list - so far so good. But all links on this page are absolut. The don't use localhost:8080 as base, they all link to http://lists.foo.com/... This is a big problem, as lists.foo.com is not accessible - the frontend is not usable for me. Can the scripts be configured, not to use this absolute URLs? You could probably use fix_url.py to change it. But anyway, wouldn't it be better for you to set up a VPN connection to that machine? I do that on a router level and then once I am in, I can use administrative interface on the LAN. HTH -- Zbigniew Szalbot -- 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] Using Mailman over SSH-Tunnel
On 11/28/06, Dark Servant [EMAIL PROTECTED] wrote: I setup mailman to manage lists at [EMAIL PROTECTED] The mailinglists works, but the admininterface gives me a headache. The Webserver is not accessible from the outsite, so I have to use a SSH-Tunnel like ssh -L 8080:localhost:80 [EMAIL PROTECTED] Another option might be to use a console-mode web browser, such as elinks. The Mailman pages are pretty simple in their construction, and so elinks should be more than adequate for whatever you need to do. -- - Patrick Bogen -- 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] Using Mailman over SSH-Tunnel
On 11/28/06, Zbigniew Szalbot [EMAIL PROTECTED] wrote: Hello, On Tue, 28 Nov 2006, Dark Servant wrote: The mailinglists works, but the admininterface gives me a headache. The Webserver is not accessible from the outsite, so I have to use a SSH-Tunnel like ssh -L 8080:localhost:80 [EMAIL PROTECTED] Going to, for example, http://localhost:8080/mailman/private/mailman/listinfo/knownlist, shows me the listinformation for a known list - so far so good. But all links on this page are absolut. The don't use localhost:8080 as base, they all link to http://lists.foo.com/... This is a big problem, as lists.foo.com is not accessible - the frontend is not usable for me. Can the scripts be configured, not to use this absolute URLs? You could probably use fix_url.py to change it. But anyway, wouldn't it be better for you to set up a VPN connection to that machine? I do that on a router level and then once I am in, I can use administrative interface on the LAN. HTH -- Zbigniew Szalbot Hm.. what exactly does the fix_url script do? Changing the URLs on the interface as I want? Am I right that setting the DEFAULT_URL_PATTERN to something like http://localhost:8080/mailman; will work for me, as long people always forward port 8080? Yes, router level would be nicer, but it should work from any computer and any network - as long as you have ssh access. David -- 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] Using Mailman over SSH-Tunnel
On 11/28/06, Dark Servant [EMAIL PROTECTED] wrote: Hm.. what exactly does the fix_url script do? Changing the URLs on the interface as I want? It changes the URLs on the pages to match the current config. Am I right that setting the DEFAULT_URL_PATTERN to something like http://localhost:8080/mailman; will work for me, as long people always forward port 8080? This isn't exactly right, but you've got the general idea. -- - Patrick Bogen -- 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