Re: mailman upgrade problem

2006-12-18 Thread Michael P. Soulier
On 17/12/06 Paul Schmehl said:

 Apparently you're running Postfix.

Is this problem unique to postfix?

 Put this in /usr/local/etc/pkgtools.conf, and you will never have this 
 problem again:
 MAKE_ARGS = {
# Preset mailman so it will compile with the right group
'mail/mailman' = 'MAIL_GID=mailman'
  }

Thanks,
Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpTRzjyUf8bH.pgp
Description: PGP signature


Re: mailman upgrade problem

2006-12-18 Thread Paul Schmehl
--On December 18, 2006 8:46:28 PM -0500 Michael P. Soulier 
[EMAIL PROTECTED] wrote:



On 17/12/06 Paul Schmehl said:


Apparently you're running Postfix.


Is this problem unique to postfix?

No.  If you read the docs for mailman, you'll find that almost every mail 
server uses a different group, so you have to account for that when you 
install.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: mailman upgrade problem

2006-12-17 Thread Paul Schmehl
--On December 16, 2006 10:07:27 PM -0500 Michael P. Soulier 
[EMAIL PROTECTED] wrote:



I just did a portupgrade on mailman, and now it's doing this.

Dec 16 22:05:27 kanga 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.  Try tweaking the mail server to run the script as group
nobody, or re-run configure,  providing the command line option
`--with-mail-gid=mailman'. Dec 16 22:05:27 kanga postfix/local[87645]:
830DE6E: to=[EMAIL PROTECTED], relay=local, delay=0, status=bounced
(Command died with status 2: /usr/local/mailman/mail/mailman post
opag. Command output: 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.  Try tweaking the
mail server to run the script as group nobody, or re-run configure,
providing the command line option
`--with-mail-gid=mailman'. )


Apparently you're running Postfix.

Put this in /usr/local/etc/pkgtools.conf, and you will never have this 
problem again:

MAKE_ARGS = {
   # Preset mailman so it will compile with the right group
   'mail/mailman' = 'MAIL_GID=mailman'
 }

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


mailman upgrade problem

2006-12-16 Thread Michael P. Soulier
I just did a portupgrade on mailman, and now it's doing this.

Dec 16 22:05:27 kanga 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.  Try
tweaking the mail server to run the script as group nobody, or re-run
configure,  providing the command line option `--with-mail-gid=mailman'.
Dec 16 22:05:27 kanga postfix/local[87645]: 830DE6E: to=[EMAIL PROTECTED],
relay=local, delay=0, status=bounced (Command died with status 2:
/usr/local/mailman/mail/mailman post opag. Command output: 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.  Try tweaking the mail server to run the script as group nobody,
or re-run configure,  providing the command line option
`--with-mail-gid=mailman'. )

I guess I need to rebuild it...

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpt72TmULpn9.pgp
Description: PGP signature


Re: mailman upgrade problem

2006-12-16 Thread Michael P. Soulier
On 16/12/06 Michael P. Soulier said:

 I just did a portupgrade on mailman, and now it's doing this.
 
 Dec 16 22:05:27 kanga 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.  Try
 tweaking the mail server to run the script as group nobody, or re-run
 configure,  providing the command line option `--with-mail-gid=mailman'.
 Dec 16 22:05:27 kanga postfix/local[87645]: 830DE6E: to=[EMAIL PROTECTED],
 relay=local, delay=0, status=bounced (Command died with status 2:
 /usr/local/mailman/mail/mailman post opag. Command output: 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.  Try tweaking the mail server to run the script as group nobody,
 or re-run configure,  providing the command line option
 `--with-mail-gid=mailman'. )

This is odd though, considering the wrapper program is group ownership
mailman, with the sgid bit set. 

Plus, if I change the group ownership to nobody, it complains about the
opposite.

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpZquDne2NCc.pgp
Description: PGP signature


Re: mailman upgrade problem

2006-12-16 Thread Michael P. Soulier
On 16/12/06 Michael P. Soulier said:

 This is odd though, considering the wrapper program is group ownership
 mailman, with the sgid bit set. 
 
 Plus, if I change the group ownership to nobody, it complains about the
 opposite.

I had to build it this way to fix the issue.

MAIL_GID=mailman make

I'm using postfix as my MTA.

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpCpqIihQ126.pgp
Description: PGP signature