Re: [Mailman-Users] Mountain Lion server trouble

2014-11-09 Thread Ed Ravin
This is why it's important to keep server configurations in a
configuration management system, like Chef, Puppet, cfengine, Ansible,
Salt Stack, etc.  When set up right, the configuration management
will put back any unwanted OS changes, or at the very least tell
after an upgrade what files no longer contain your edits.

On Tue, Nov 04, 2014 at 11:59:02AM -0500, nxnw wrote:
...
> 1. Mostly good news - after the OS and server.app upgrades, mailman was 
> (mostly) running. The only thing that was not working was the web interface. 
> After a bit of investigation, I found that the upgrade overwrote 
> /Library/Server/Web/Config/apache2/httpd_server_app.conf, so that file had to 
> be edited (again) to add the following:
> 
>   #Mailman
>   Include /private/etc/apache2/extra/httpd-mailman.conf
> 
> I put the above right after "Include 
> /Library/Server/Web/Config/apache2/other/*.conf". Apache must be restarted 
> after the edit.
--
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] Mountain Lion server trouble

2014-11-04 Thread nxnw
> OK, here are steps taken for a (mostly) successful installation on Mountain 
> Lion server, including migration from the apple-supplied mailman previously 
> running under Lion.

Short update respecting a further system upgrade from Mountain Lion server to 
Mavericks server. Two things:

1. Mostly good news - after the OS and server.app upgrades, mailman was 
(mostly) running. The only thing that was not working was the web interface. 
After a bit of investigation, I found that the upgrade overwrote 
/Library/Server/Web/Config/apache2/httpd_server_app.conf, so that file had to 
be edited (again) to add the following:

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

I put the above right after "Include 
/Library/Server/Web/Config/apache2/other/*.conf". Apache must be restarted 
after the edit.

2. httpd_server_app.conf was overwritten again during a subsequent, minor 
update of server.app. Editing, as shown above, fixed it.
--
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] Mountain Lion server trouble

2013-03-30 Thread Allan Herman
In my case, the upgrade from Lion Server to Mountain Lion Server was pretty 
smooth. Almost everything (contact server, calendar server, file server, 
profile manager, DNS, OD, iChat server) worked fine without further attention 
after the upgrade.

Expected issues were the loss of mailman and the loss of server side mail rules 
(primarily vacation messages).

Unexpected, but easily fixed, was postfix being dead after the update. The 
failure was due to the config directory being moved from /etc/postfix/ to 
/Library/Server/Mail/Config/postfix/ — my main.cf  and master.cf files had many 
paths to files that were no longer in /etc/postfix/. After a bit of editing, 
all was fine. Mostly, I just had to change /etc/postfix/  to 
Library/Server/Mail/Config/postfix/. The only one that was a bit trickier was 
the aliases file. My recollection was that, originally, the file was at 
/etc/aliases and the one in /etc/postfix was a symlink, so I just recreated 
that, with the symlink in Library/Server/Mail/Config/postfix. I am thinking of 
reversing that however, as the idea of having all server config files in one 
place (Library/Server/... is appealing.

On 03-29-2013, at 6:27 PM, Larry Stone  wrote:
> 
> On Mar 29, 2013, at 4:32 PM, Allan Herman  wrote:
> 
>> OK, here are steps taken for a (mostly) successful installation on Mountain 
>> Lion server, including migration from the apple-supplied mailman previously 
>> running under Lion.
>> 
>> Primarily, subject to the following comments, I followed the steps in the 
>> Snow Leopard instructions at this page: 
>> http://www.mail-archive.com/mailman-users@python.org/msg56963.html
> 
> As the author of the original, thank you for the update. Note that what I 
> wrote was for OS X "client", not Server. But I am stuck for now at Lion and 
> after one attempt on a test system, not sure I want to try to move my server 
> beyond Lion. Apple has changed way too much in Mountain Lion - compatibility 
> with previous OS versions is just not in Apple's goals (and it's the mail 
> server piece that has stopped me - never even got to Mailman). 
> 
> 
> -- 
> Larry Stone
> lston...@stonejongleux.com
> http://www.stonejongleux.com/
> 
> 
> 
> --
> Mailman-Users mailing list Mailman-Users@python.org
> http://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: 
> http://mail.python.org/mailman/options/mailman-users/nxnw%40rogers.com

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mountain Lion server trouble

2013-03-29 Thread Larry Stone

On Mar 29, 2013, at 4:32 PM, Allan Herman  wrote:

> OK, here are steps taken for a (mostly) successful installation on Mountain 
> Lion server, including migration from the apple-supplied mailman previously 
> running under Lion.
> 
> Primarily, subject to the following comments, I followed the steps in the 
> Snow Leopard instructions at this page: 
> http://www.mail-archive.com/mailman-users@python.org/msg56963.html

As the author of the original, thank you for the update. Note that what I wrote 
was for OS X "client", not Server. But I am stuck for now at Lion and after one 
attempt on a test system, not sure I want to try to move my server beyond Lion. 
Apple has changed way too much in Mountain Lion - compatibility with previous 
OS versions is just not in Apple's goals (and it's the mail server piece that 
has stopped me - never even got to Mailman). 


-- 
Larry Stone
lston...@stonejongleux.com
http://www.stonejongleux.com/



--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mountain Lion server trouble

2013-03-29 Thread Mark Sapiro
Allan Herman wrote:

>OK, here are steps taken for a (mostly) successful installation on Mountain 
>Lion server, including migration from the apple-supplied mailman previously 
>running under Lion.


Thank you for posting this. I have linked this post from the FAQ at
.

-- 
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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mountain Lion server trouble

2013-03-29 Thread Allan Herman
OK, here are steps taken for a (mostly) successful installation on Mountain 
Lion server, including migration from the apple-supplied mailman previously 
running under Lion.

Primarily, subject to the following comments, I followed the steps in the Snow 
Leopard instructions at this page: 
http://www.mail-archive.com/mailman-users@python.org/msg56963.html

In step 1, I will note that for ML, one would get XCode from the app store, 
rather than install developer tools. Also, as I was installing on OS X server, 
postfix was installed and running.

Steps 2 and 3, no changes.

Added step 3A to migrate data. When I upgraded from Lion Server to ML server, 
the installer moved my old mailman data to 
/Library/Server/Migrated/private/var/mailman/.
I copied over my existing data and configuration as follows:
sudo cp -a /Library/Server/Migrated/private/var/mailman/archives/* 
/usr/local/mailman/archives/
sudo cp -a /Library/Server/Migrated/private/var/mailman/data/* 
/usr/local/mailman/data/
sudo cp -a /Library/Server/Migrated/private/var/mailman/lists/* 
/usr/local/mailman/lists/
sudo cp -a /Library/Server/Migrated/private/var/mailman/qfiles/* 
/usr/local/mailman/qfiles/

Step 4 is significantly different, as the apache config files are changed in ML 
server. Here, I created the file /private/etc/apache2/extra/httpd-mailman.conf 
containing the following:

ScriptAlias /mailman/   /usr/local/mailman/cgi-bin/
Alias /pipermail/   /usr/local/mailman/archives/public/
Alias /icons/  /usr/local/mailman/icons/

order allow,deny
allow from all


order allow,deny
allow from all


Options FollowSymLinks


The above is substantially the same as the lines added to httpd.conf in the 
source instructions, except that it adds the alias for the icons. This alias is 
instead of copying the icons to /usr/share/httpd/icons, where apache won't find 
them in ML server.

Further, ML Server's apache does not use the httpd.conf file, but rather, 
/Library/Server/Web/Config/apache2/httpd_server_app.conf. In order to 
incorporate the configuration we put into the httpd-mailman.conf, above, 
httpd_server_app.conf is edited to add the following line:

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

I put the above right after "Include 
/Library/Server/Web/Config/apache2/other/*.conf"

4(e) re cron jobs was followed without change

In step 5, 
- the real main.cf file, under ML Server, is in 
/Library/Server/Mail/Config/postfix
- assuming postfix is running, you will already have something like "alias_maps 
= hash:/etc/aliases" already. Don't change what you have already. Just tack on 
",hash:/usr/local/mailman/data/aliases" to it. Note the comma.

Step 6 followed

Step 7 unnecessary, because of the import

Step 8 followed.

With the exception of one small glitch, it seems to be working well.



On 03-23-2013, at 10:31 PM, Mark Sapiro  wrote:

> Allan Herman wrote:
> 
>> I tried the instructions on 
>> http://www.livetime.com/mountain-lion-mailman-mailing-list/  to install 
>> mailman on 10.8 server, but have hit a snag. The build seemed to go 
>> perfectly, but the change to the httpd_server_app.conf file breaks apache.
> 
> 
> Have you seen our FAQ at ? It doesn't have
> Mountain Lion specific information, but it covers installation of the
> source distribution of Gnu Mailman on Mac OS X which is what we
> recommend.
> 
> -- 
> 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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mountain Lion server trouble

2013-03-23 Thread Mark Sapiro
Allan Herman wrote:

>I tried the instructions on 
>http://www.livetime.com/mountain-lion-mailman-mailing-list/  to install 
>mailman on 10.8 server, but have hit a snag. The build seemed to go perfectly, 
>but the change to the httpd_server_app.conf file breaks apache.


Have you seen our FAQ at ? It doesn't have
Mountain Lion specific information, but it covers installation of the
source distribution of Gnu Mailman on Mac OS X which is what we
recommend.

-- 
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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Mountain Lion server trouble

2013-03-23 Thread Allan Herman
I tried the instructions on 
http://www.livetime.com/mountain-lion-mailman-mailing-list/  to install mailman 
on 10.8 server, but have hit a snag. The build seemed to go perfectly, but the 
change to the httpd_server_app.conf file breaks apache. Previously, the OS X 
wiki service was working properly, but after the change, the system log shows 
apache failing to launch and a failed spawn every 10 seconds. When I comment 
out the change to httpd_server_app.conf, everything is back to normal.  

Help?

The change to httpd_server_app.conf is: Include 
/private/etc/apache2/extra/httpd-mailman.conf 

The content of /private/etc/apache2/extra/httpd-mailman.conf is:

# Config file for linking the mailman mailing list manager to MacOSX Server Web 
Server.
#
 
ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
Alias /pipermail/ "/usr/local/mailman/archives/public/"
Alias /icons/ "/usr/local/mailman/icons/"

Options FollowSymLinks MultiViews Indexes
AllowOverride None
Order allow,deny
Allow from all


Allan


--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org