Re: [Mailman-Users] Administrative requests page for migrated lists uses wrong old server fqdn for data submission

2016-10-14 Thread Dominik Hoffmann
Thanks very much, Mark, for the pointer to the FAQ! In particular, it seemed 
like FAQ 4.27 (cf. ) was most relevant.

Accordingly, I added the lines

RewriteEngine on
RewriteCond %{HTTPS}off [NC]
RewriteRule ^/mailman(/.*)  https://%{HTTP_HOST}/mailman$1   
[L,R=permanent]

to

/etc/apache2/extra/httpd-mailman.conf

which is included in

/Library/Server/Web/Config/apache2/httpd_server_app.conf

on the line

Include /private/etc/apache2/extra/httpd-mailman.conf


I also edited

/usr/local/mailman/Mailman/mm_cfg.py

to include the line

DEFAULT_URL_PATTERN = 'https://%s/mailman/'

Finally, I ran

/usr/local/mailman/bin/withlist -l -a -r fix_url

again.

This made it all work!

> On Oct 13, 2016, at 6:09 PM, Mark Sapiro  wrote:
> 
> On 10/13/2016 01:51 PM, Dominik Hoffmann wrote:
>> 
>> One thing that still doesn't work is submission of the pending moderator 
>> requests. When I hit Submit All Data, the page simply reloads without any of 
>> the moderation directives having been taken into account.
> 
> 
> See .

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Administrative requests page for migrated lists uses wrong old server fqdn for data submission

2016-10-13 Thread Mark Sapiro
On 10/13/2016 01:51 PM, Dominik Hoffmann wrote:
> 
> One thing that still doesn't work is submission of the pending moderator 
> requests. When I hit Submit All Data, the page simply reloads without any of 
> the moderation directives having been taken into account.


See .

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Administrative requests page for migrated lists uses wrong old server fqdn for data submission

2016-10-13 Thread Dominik Hoffmann
Great! Thanks, Mark!

I ran

/usr/local/mailman/bin/withlist -l -a -r fix_url

and now all my lists actually show up on the "Overview of all 
new-server.domain.com mailing lists" page.

One thing that still doesn't work is submission of the pending moderator 
requests. When I hit Submit All Data, the page simply reloads without any of 
the moderation directives having been taken into account.

Getting really close to having this thing up and running completely.

> On Oct 13, 2016, at 4:38 PM, Mark Sapiro  wrote:
> 
> On 10/13/2016 12:19 PM, Dominik Hoffmann wrote:
>> 
>> When editing the list settings, there were references to 
>> "old-server.domain.com" in the host_name field on the General Options page, 
>> and I changed that to "new-server.domain.com".
>> 
>> What do I need to fix, in order for the button submission to go through 
>> properly?
> 
> 
> You need to run Mailman's fix_url. See this FAQ
> .
> 
> -- 
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Administrative requests page for migrated lists uses wrong old server fqdn for data submission

2016-10-13 Thread Mark Sapiro
On 10/13/2016 12:19 PM, Dominik Hoffmann wrote:
> 
> When editing the list settings, there were references to 
> "old-server.domain.com" in the host_name field on the General Options page, 
> and I changed that to "new-server.domain.com".
> 
> What do I need to fix, in order for the button submission to go through 
> properly?


You need to run Mailman's fix_url. See this FAQ
.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Administrative requests page for migrated lists uses wrong old server fqdn for data submission

2016-10-13 Thread Dominik Hoffmann
My mailing lists were migrated from a machine running Mac OS X Server 10.6 
(Snow Leopard) [let's refer to it by the fdqn old-server.domain.com], where 
mailman was supplied and supported out of the box. The destination was an OS X 
Server 10.11 (El Capitan) system running Server 5.2 [let's refer to it by the 
fdqn new-server.domain.com], which required the manual installation of mailman 
from source.

I copied the requisite directories archives, data, lists and qfiles from 
/var/mailman/ to /usr/local/mailman/. I then ran

/usr/local/mailman/bin/check_perms -f

which made sure that these were given the proper permissions for the new system.

Let's say my mailing list is named "family." I can now bring up

https://new-server.domain.com/mailman/admin/family

I can change all settings to my heart's content, and they all take. However, 
when I try to "Tend to pending moderator requests" and click on the Submit All 
Data button on

https://new-server.domain.com/mailman/admindb/family

it directs me to

http://old-server.domain.com/mailman/admindb/family

which has been decommissioned.

When editing the list settings, there were references to 
"old-server.domain.com" in the host_name field on the General Options page, and 
I changed that to "new-server.domain.com".

What do I need to fix, in order for the button submission to go through 
properly?
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org