Re: Mailman GID problem

2007-04-23 Thread Jean Milanez Melo
Jeffrey Goldberg wrote: On Apr 20, 2007, at 9:26 PM, Paul Schmehl wrote: --On April 20, 2007 7:54:45 PM -0500 Jeffrey Goldberg [EMAIL PROTECTED] wrote: So the first fix (modifying the owner of data/aliases{,.db}) is the right way to go, but instead of making those files owned by nobody

Re: Mailman GID problem

2007-04-21 Thread Guy Brand
Jeffrey Goldberg ([EMAIL PROTECTED]) on 20/04/2007 at 23:59 wrote: From /usr/local/share/doc/mailman/mailman-install.txt In section 6.1.1 Integrating Postfix and Mailman * When you configure Mailman, use the --with-mail-gid=mailman switch; However, the current ports

Re: Mailman GID problem

2007-04-21 Thread David Southwell
On Saturday 21 April 2007 02:20:10 Guy Brand wrote: Jeffrey Goldberg ([EMAIL PROTECTED]) on 20/04/2007 at 23:59 wrote: From /usr/local/share/doc/mailman/mailman-install.txt In section 6.1.1 Integrating Postfix and Mailman * When you configure Mailman, use the

Re: Mailman GID problem

2007-04-21 Thread Jeffrey Goldberg
On Apr 21, 2007, at 12:46 AM, Paul Schmehl wrote: Clearly that last part is wrong. bash-2.05b# ls -lsa /usr/local/mailman/data/aliases* 6 -rw-r--r-- 1 root mailman 4383 Oct 14 2005 /usr/local/ mailman/data/aliases 4 -rw-r- 1 mailman mailman 3984 Sep 8 2005 /usr/local/

Re: Mailman GID problem

2007-04-21 Thread Paul Schmehl
--On April 21, 2007 3:33:08 AM -0700 David Southwell [EMAIL PROTECTED] wrote: Lastly the standard make ./configure does not work with mailman neither is there a record available which enables one to check the current settings including GID applicable to the installed version. This means that

Mailman GID problem

2007-04-20 Thread David Southwell
/usr/local/share/doc/mailman/mailman-install.txt 6.1.1 Integrating Postfix and Mailman . . * When you configure Mailman, use the --with-mail-gid=mailman switch; this will be the default if you configured Mailman after adding the mailman owner. Because the owner of the aliases.db

Re: Mailman GID problem

2007-04-20 Thread Jeffrey Goldberg
On Apr 20, 2007, at 10:42 AM, David Southwell wrote: Extract from /var/maillog Apr 20 08:24:58 dns1 Mailman mail-wrapper: Group mismatch error. Mailman expected the mail wrapper script to be executed as group nobody, but the system's mail server executed the mail script as group mailman.

Re: Mailman GID problem

2007-04-20 Thread David Southwell
On Friday 20 April 2007 09:38:03 Jeffrey Goldberg wrote: On Apr 20, 2007, at 10:42 AM, David Southwell wrote: Extract from /var/maillog Apr 20 08:24:58 dns1 Mailman mail-wrapper: Group mismatch error. Mailman expected the mail wrapper script to be executed as group nobody, but the

Re: Mailman GID problem

2007-04-20 Thread David Southwell
On Friday 20 April 2007 09:38:03 Jeffrey Goldberg wrote: chown -R nobody:mailman /usr/local/mailman/data Here is what happens if I do that command: [EMAIL PROTECTED] /usr/local/mailman/data]# ls -l total 64 -rw-r- 1 root mailman 41 Apr 16 07:51 adm.pw -rw-rw 1 root mailman

Re: Mailman gid problem

2007-04-20 Thread Jeffrey Goldberg
[I'm adding [EMAIL PROTECTED] to the cc in the hopes of making it easier for everyone following this discussion to follow it.] On Apr 20, 2007, at 1:38 PM, David Southwell wrote: I'm sorry -- I did in fact try to send it but mailman trashed my mail system and I lost the thread. OK,

Re: Mailman GID problem

2007-04-20 Thread Wesley Shields
On Fri, Apr 20, 2007 at 11:32:13AM -0700, David Southwell wrote: On Friday 20 April 2007 09:38:03 Jeffrey Goldberg wrote: On Apr 20, 2007, at 10:42 AM, David Southwell wrote: Extract from /var/maillog Apr 20 08:24:58 dns1 Mailman mail-wrapper: Group mismatch error. Mailman expected

Re: Mailman GID problem

2007-04-20 Thread Jeffrey Goldberg
On Apr 20, 2007, at 1:44 PM, David Southwell wrote: On Friday 20 April 2007 09:38:03 Jeffrey Goldberg wrote: chown -R nobody:mailman /usr/local/mailman/data Here is what happens if I do that command: [EMAIL PROTECTED] /usr/local/mailman]# bin/check_perms /usr/local/mailman/data/aliases.db

Re: Mailman GID problem

2007-04-20 Thread Paul Schmehl
--On Friday, April 20, 2007 11:32:13 -0700 David Southwell [EMAIL PROTECTED] wrote: On Friday 20 April 2007 09:38:03 Jeffrey Goldberg wrote: On Apr 20, 2007, at 10:42 AM, David Southwell wrote: Extract from /var/maillog Apr 20 08:24:58 dns1 Mailman mail-wrapper: Group mismatch error.

Re: Mailman GID problem

2007-04-20 Thread Paul Schmehl
--On Friday, April 20, 2007 11:38:03 -0500 Jeffrey Goldberg [EMAIL PROTECTED] wrote: On Apr 20, 2007, at 10:42 AM, David Southwell wrote: Extract from /var/maillog Apr 20 08:24:58 dns1 Mailman mail-wrapper: Group mismatch error. Mailman expected the mail wrapper script to be executed as

Re: Mailman GID problem

2007-04-20 Thread Jeffrey Goldberg
On Apr 20, 2007, at 1:44 PM, Paul Schmehl wrote: *If* what you say is true [...] which I am increasingly doubtful of. then this should fix it: --- pkg-install.origFri Apr 20 13:42:17 2007 +++ pkg-install Fri Apr 20 13:42:47 2007 @@ -43,6 +43,7 @@ (umask 002 /bin/mkdir -p

Re: Mailman GID problem

2007-04-20 Thread Jean Milanez Melo
David Southwell wrote: /usr/local/share/doc/mailman/mailman-install.txt 6.1.1 Integrating Postfix and Mailman . . * When you configure Mailman, use the --with-mail-gid=mailman switch; this will be the default if you configured Mailman after adding the mailman owner. Because

Re: Mailman GID problem

2007-04-20 Thread Paul Schmehl
--On Friday, April 20, 2007 14:23:14 -0500 Jeffrey Goldberg [EMAIL PROTECTED] wrote: On Apr 20, 2007, at 1:44 PM, Paul Schmehl wrote: *If* what you say is true [...] which I am increasingly doubtful of. then this should fix it: --- pkg-install.origFri Apr 20 13:42:17 2007 +++

Re: Mailman GID problem

2007-04-20 Thread Jeffrey Goldberg
On Apr 20, 2007, at 4:31 PM, Paul Schmehl wrote: --On Friday, April 20, 2007 14:23:14 -0500 Jeffrey Goldberg [EMAIL PROTECTED] wrote: Can you tell me where to find the unprocessed version of pkg-install? What is in work/ has already been processed by sed, and I didn't see anything obvious

Re: Mailman GID problem

2007-04-20 Thread Paul Schmehl
--On April 20, 2007 7:54:45 PM -0500 Jeffrey Goldberg [EMAIL PROTECTED] wrote: I think I'm beginning to understand where that nobody comes from and why you are right about that. Here is an excerpt from the postfix aliases(5) In the absence of a user context, the local(8) daemon uses

Re: Mailman GID problem

2007-04-20 Thread Jeffrey Goldberg
On Apr 20, 2007, at 9:26 PM, Paul Schmehl wrote: --On April 20, 2007 7:54:45 PM -0500 Jeffrey Goldberg [EMAIL PROTECTED] wrote: So the first fix (modifying the owner of data/aliases{,.db}) is the right way to go, but instead of making those files owned by nobody (which does seem dangerous

Re: Mailman GID problem

2007-04-20 Thread Paul Schmehl
--On April 20, 2007 11:59:46 PM -0500 Jeffrey Goldberg [EMAIL PROTECTED] wrote: I am fairly confident that if that is working for you, than you are not running with /usr/local/mailman/mail/mailman that was compiled with the current port with the postfix option set. The binary mailman has a gid