Re: [Mailman-Users] Group mismatch again.

2014-07-14 Thread Bill Christensen

On 7/11/14 6:26 PM, Mark Sapiro wrote:

On 07/10/2014 11:13 AM, Bill Christensen wrote:

The setup:  Moving from Mac OS 10.8.5 to 10.9.4, on a MAMP setup,
everything installed using MacPorts.  Upgrading MySQL, PHP, and
PostgreSQL in the process.  MacPorts hasn't upgraded Mailman beyond
2.1.13 (a separate issue I may want to address later).  Right now I'm
doing test runs on a backup to make sure all the pieces and parts will
work properly when I do the update for real.  I have all the other parts
in place but I'm now getting the dreaded group mismatch error from Mailman.

When I first installed everything I installed Mailman before PostgreSQL,
and the feedback told me that I needed either to compile Mailman as
--with-mail-gid=postgresql or change the mail server (standard Mac
installation of Postfix) to run as group _mailman.  I uninstalled and
reinstalled Mailman and now it's telling me that I need to compile
Mailman as --with-mail-gid=staff.

I changed the setting in MacPorts' file from --with-mail-gid=_mailman to
--with-mail-gid=staff and attempted to reinstall, but I'm getting an
error that it's Unable to open port - invalid command name
'--with-mail-gid=staff'.

Anyone have any ideas of where to go from here?


This is really an Apple issue, at least the way you're going about it.
Have you asked Apple?

However, you say you (only) changed --with-mail-gid=_mailman to
--with-mail-gid=staff, and whereas the install worked with
--with-mail-gid=_mailman, after the change it complains invalid command
name '--with-mail-gid=staff'.

I really know nothing about the OS X server Mailman or even where you
made that change, but in 'standard' Mailman that would be an option to
configure and configure would never make that exact complaint. Are you
sure you didn't introduce an extraneous newline or similar that would
cause --with-mail-gid=staff to be interpreted as a command rather than
an option to a prior command?


Figured it out.  It was syntax problems:

First, I had added a comment as a note to myself within the 
configure_args block, so that if I needed to revert I'd have the exact 
line.  I should have known not to put it in the block.


After I moved the comment to before the block, I left the comment with a 
trailing \, as that was at the end of the original line. 
Unfortunately, that threw things off also.   Removing the \ got the 
installation working correctly and it's now up and running.

--
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] Group mismatch again.

2014-07-11 Thread Mark Sapiro
On 07/10/2014 11:13 AM, Bill Christensen wrote:
 
 The setup:  Moving from Mac OS 10.8.5 to 10.9.4, on a MAMP setup,
 everything installed using MacPorts.  Upgrading MySQL, PHP, and
 PostgreSQL in the process.  MacPorts hasn't upgraded Mailman beyond
 2.1.13 (a separate issue I may want to address later).  Right now I'm
 doing test runs on a backup to make sure all the pieces and parts will
 work properly when I do the update for real.  I have all the other parts
 in place but I'm now getting the dreaded group mismatch error from Mailman.
 
 When I first installed everything I installed Mailman before PostgreSQL,
 and the feedback told me that I needed either to compile Mailman as
 --with-mail-gid=postgresql or change the mail server (standard Mac
 installation of Postfix) to run as group _mailman.  I uninstalled and
 reinstalled Mailman and now it's telling me that I need to compile
 Mailman as --with-mail-gid=staff.
 
 I changed the setting in MacPorts' file from --with-mail-gid=_mailman to
 --with-mail-gid=staff and attempted to reinstall, but I'm getting an
 error that it's Unable to open port - invalid command name
 '--with-mail-gid=staff'.
 
 Anyone have any ideas of where to go from here?


This is really an Apple issue, at least the way you're going about it.
Have you asked Apple?

However, you say you (only) changed --with-mail-gid=_mailman to
--with-mail-gid=staff, and whereas the install worked with
--with-mail-gid=_mailman, after the change it complains invalid command
name '--with-mail-gid=staff'.

I really know nothing about the OS X server Mailman or even where you
made that change, but in 'standard' Mailman that would be an option to
configure and configure would never make that exact complaint. Are you
sure you didn't introduce an extraneous newline or similar that would
cause --with-mail-gid=staff to be interpreted as a command rather than
an option to a prior command?

-- 
Mark Sapiro m...@msapiro.netThe 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] Group mismatch again.

2014-07-10 Thread Bill Christensen

Hey folks,

I'm doing an upgrade/reinstall on one of my servers, and when I put 
Mailman back on I'm getting a group mismatch error.  It's happened to me 
before, but I don't remember the exact procedure to make it work properly.


The setup:  Moving from Mac OS 10.8.5 to 10.9.4, on a MAMP setup, 
everything installed using MacPorts.  Upgrading MySQL, PHP, and 
PostgreSQL in the process.  MacPorts hasn't upgraded Mailman beyond 
2.1.13 (a separate issue I may want to address later).  Right now I'm 
doing test runs on a backup to make sure all the pieces and parts will 
work properly when I do the update for real.  I have all the other parts 
in place but I'm now getting the dreaded group mismatch error from Mailman.


When I first installed everything I installed Mailman before PostgreSQL, 
and the feedback told me that I needed either to compile Mailman as 
--with-mail-gid=postgresql or change the mail server (standard Mac 
installation of Postfix) to run as group _mailman.  I uninstalled and 
reinstalled Mailman and now it's telling me that I need to compile 
Mailman as --with-mail-gid=staff.


I changed the setting in MacPorts' file from --with-mail-gid=_mailman to 
--with-mail-gid=staff and attempted to reinstall, but I'm getting an 
error that it's Unable to open port - invalid command name 
'--with-mail-gid=staff'.


Anyone have any ideas of where to go from here?

I'd rather not do a direct download/compile of Mailman if possible, as 
MacPorts spreads the pieces and parts into a number of directories and 
I'd probably have a heck of a time getting all the paths working 
correctly again.

--
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