[Mailman-Users] Group Mismatch Error

2020-10-24 Thread Dennis Putnam
I am getting this error:

 (expanded from ):
Command died with status 2: "/usr/lib/mailman/mail/mailman post
cufsalumni". 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'.

When I upgraded to this version of Mailman (2.1.34) I specified the configure 
options per the article (https://wiki.list.org/x/17892071) for RHEL. The group 
for '/usr/lib/mailman/mail/mailman' is indeed 'nobody'. What is this error 
trying to tell me. It is not clear what wrapper it is talking about since the 
group on the indicated script is correct.




signature.asc
Description: OpenPGP digital signature
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


Re: [Mailman-Users] group mismatch error

2014-12-04 Thread Mark Sapiro
On 12/03/2014 09:34 PM, David Benfell wrote:
 
 This seems to be a problem with a long pedigree. Perhaps something
 should be done to make this easily fixable.


If your issue is with a package, complain to the packager.


 In my case, I'm running FreeBSD. I initially installed mailman from
 ports, but I'm having way too much trouble with ports in general, and
 so I am moving to the pkg system which does precompiled packages.
 
 Apparently the maintainer for the pkg version decided to use a
 different group than the ports maintainer.
 
 I'm using postfix. I don't really see how postfix even runs the
 script, let alone how to tell it to run it with a different group.


There are generally two ways Postfix delivers to Mailman. One way, the
only recommended way, is via Aliases. When a Postfix alias is a pipe,
Postfix runs the pipe as the user and primary group of the owner of the
aliases.db file in which the pipe alias is found. Note the group is NOT
necessarily the group of the aliases.db file; it IS the primary group of
the owner of the aliases.db file. See the DELIVERY RIGHTS paragraph in
'man 8 local'

The other way is via a script postfix_to_mailman.py which is included in
the Debian package. See the FAQ at http://wiki.list.org/x/EYDt. With
postfix_to_mailman.py, the script runs wit the user (and user's group)
set for the 'mailman' transport in master.cf

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan



signature.asc
Description: OpenPGP digital signature
--
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 error

2014-12-03 Thread David Benfell
Hi all,

This seems to be a problem with a long pedigree. Perhaps something
should be done to make this easily fixable.

In my case, I'm running FreeBSD. I initially installed mailman from
ports, but I'm having way too much trouble with ports in general, and
so I am moving to the pkg system which does precompiled packages.

Apparently the maintainer for the pkg version decided to use a
different group than the ports maintainer.

I'm using postfix. I don't really see how postfix even runs the
script, let alone how to tell it to run it with a different group.

How do I fix this?

-- 
David Benfell benf...@parts-unknown.org
See https://parts-unknown.org/node/2 if you don't understand the
attachment.


pgpNjVgmmwC2s.pgp
Description: PGP signature
--
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 error (mail wrapper script)

2012-02-28 Thread Rosenbaum, Larry M.
I'm migrating Mailman to a new server and getting the following error when I 
send mail to a list:

#5.3.0 x-unix; Group mismatch error. Mailman expected the mail wrapper script 
to be executed as one of the following groups: [mail, postfix, mailman, nobody, 
daemon], but the system's mail server executed the mail script as group: 
users. Try tweaking the mail server to run the script as one of these groups: 
[mail, postfix, mailman, nobody, daemon], or re-run configure providing the 
command line option: '--with-mail-gid=users'.

Where do I need to look for the error?

Running Mailman 2.1.14 on RHEL6 with Postfix.

Larry M. Rosenbaum
Oak Ridge National Laboratory

--
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] Group mismatch error (mail wrapper script)

2012-02-28 Thread Mark Sapiro
Rosenbaum, Larry M. wrote:

#5.3.0 x-unix; Group mismatch error. Mailman expected the mail wrapper script 
to be executed as one of the following groups: [mail, postfix, mailman, 
nobody, daemon], but the system's mail server executed the mail script as 
group: users. Try tweaking the mail server to run the script as one of these 
groups: [mail, postfix, mailman, nobody, daemon], or re-run configure 
providing the command line option: '--with-mail-gid=users'.

Where do I need to look for the error?

Running Mailman 2.1.14 on RHEL6 with Postfix.


With Postfix, assuming you are using aliases, Postfix invokes the
delivery pipe as the user (and that user's primary group) who owns the
aliases.db file in which the alias was found.

If you have the recommended Postfix-Mailman integration, and RHEL file
locations, this means /etc/mailman/aliases.db should be owned by
'mailman'

See the FAQs at http://wiki.list.org/x/KYCB and
http://wiki.list.org/x/tYA9.

-- 
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
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] Group mismatch error (mail wrapper script)

2012-02-28 Thread Rosenbaum, Larry M.
 From: Mark Sapiro [mailto:m...@msapiro.net]
 
 Rosenbaum, Larry M. wrote:
 
 #5.3.0 x-unix; Group mismatch error. Mailman expected the mail wrapper
 script to be executed as one of the following groups: [mail, postfix,
 mailman, nobody, daemon], but the system's mail server executed the mail
 script as group: users. Try tweaking the mail server to run the script
 as one of these groups: [mail, postfix, mailman, nobody, daemon], or re-
 run configure providing the command line option: '--with-mail-gid=users'.
 
 Where do I need to look for the error?
 
 Running Mailman 2.1.14 on RHEL6 with Postfix.
 
 
 With Postfix, assuming you are using aliases, Postfix invokes the
 delivery pipe as the user (and that user's primary group) who owns the
 aliases.db file in which the alias was found.
 
 If you have the recommended Postfix-Mailman integration, and RHEL file
 locations, this means /etc/mailman/aliases.db should be owned by
 'mailman'

Thanks for the information.  check_perms -f fixed it.
--
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] Group mismatch error..on Freebsd 7.2 p3 amd64

2009-12-28 Thread David Southwell
Thanks in advance for any replies.

Despite scouring the web and trying the many different solutions that seem to 
be offered to this problem I have be unable to fix it. Is there a way of 
tracing the cause in my particular instance?

The entry in maillog does not say how to tweak postfix!

Freebsd 7.2 p3 amd64 on Intel quad core

I have run 
/usr/local/mailman
dns1# ./bin/check_perms
No problems found
dns1# ./bin/genaliases
dns1# ls -l /etc |grep aliases
-rw-r--r--  1 root  wheel  5916 Dec 27 18:14 aliases
-rw-r--r--  1 root  wheel 16384 Dec 27 18:48 aliases.db
-rw-r--r--  1 root  wheel  2726 Dec 27 17:52 aliases~
dns1# ls -l ./data
total 58
-rw-r-  1 mailman  mailman 41 Dec 19 17:46 adm.pw
-rw-rw  1 mailman  mailman   3760 Dec 28 09:40 aliases
-rw-rw  1 mailman  mailman  16384 Dec 28 09:40 aliases.db
-rw-r--r--  1 root mailman 10 Dec 28 09:23 last_mailman_version
-rw-r--r--  1 root mailman  14100 Dec 28 09:23 sitelist.cfg
-rw-rw  1 root mailman   3284 Dec 28 09:40 virtual-mailman
-rw-rw  1 mailman  mailman  16384 Dec 28 09:40 virtual-mailman.db


I tried to get the mail script changed to run --with-mail-gid=nobody but 
either I did not issue the command correctly or if I did it made no 
difference.! If someone could post the comand line that works on a freebsd 7.2 
system which they know to be correct I will try that again.


Extract from maillog:
TEST_15
Dec 28 09:25:41 dns1 postfix/pickup[33009]: 1278934D451: uid=1001 
from=da...@vizion2000.net
Dec 28 09:25:41 dns1 postfix/cleanup[44509]: 1278934D451: message-
id=200912280925.41000.da...@vizion2000.net
Dec 28 09:25:41 dns1 postfix/qmgr[23289]: 1278934D451: 
from=da...@vizion2000.net, size=3166, nrcpt=2 (queue active)
Dec 28 09:25:41 dns1 Mailman mail-wrapper: Group mismatch error.  Mailman 
expected the mail wrapper script to be executed as group mailman, but the 
system's mail server executed the mail script as group nobody.  Try tweaking 
the mail server to run the script as group mailman, or re-run configure,  
providing the command line option `--with-mail-gid=nobody'.
Dec 28 09:25:41 dns1 postfix/local[44512]: 1278934D451: 
to=da...@vizion2000.net, relay=local, delay=0.07, delays=0.06/0.01/0/0, 
dsn=2.0.0, status=sent (delivered to mailbox)
Dec 28 09:25:41 dns1 postfix/local[44511]: 1278934D451: 
to=bps_comps_print_annou...@vizion2000.net, relay=local, delay=0.08, 
delays=0.06/0.01/0/0.01, dsn=5.3.0, status=bounced (Command died with status 
2: /usr/local/mailman/mail/mailman post bps_comps_print_announce. Command 
output: Group mismatch error.  Mailman expected the mail wrapper script to be 
executed as group mailman, but the system's mail server executed the mail 
script as group nobody.  Try tweaking the mail server to run the script as 
group mailman, or re-run configure,  providing the command line option `--
with-mail-gid=nobody'. )
Dec 28 09:25:41 dns1 postfix/cleanup[44509]: 18F7434D456: message-
id=20091228092541.18f7434d...@dns1.vizion2000.net
Dec 28 09:25:41 dns1 postfix/bounce[44514]: 1278934D451: sender non-delivery 
notification: 18F7434D456
Dec 28 09:25:41 dns1 postfix/qmgr[23289]: 18F7434D456: from=, size=5719, 
nrcpt=1 (queue active)
Dec 28 09:25:41 dns1 postfix/qmgr[23289]: 1278934D451: removed
Dec 28 09:25:41 dns1 postfix/local[44512]: 18F7434D456: 
to=da...@vizion2000.net, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, 
status=sent (delivered to mailbox)
Dec 28 09:25:41 dns1 postfix/qmgr[23289]: 18F7434D456: removed

Thanks 

David
--
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] Group mismatch error..on Freebsd 7.2 p3 amd64

2009-12-28 Thread Mark Sapiro
David Southwell wrote:

Despite scouring the web and trying the many different solutions that seem to 
be offered to this problem I have be unable to fix it. Is there a way of 
tracing the cause in my particular instance?


Yes.


The entry in maillog does not say how to tweak postfix!


No, but Postfix's 'man 8 local' manpage does in the 'DELIVERY RIGHTS'
paragraph.


[...]
dns1# ls -l ./data
total 58
-rw-r-  1 mailman  mailman 41 Dec 19 17:46 adm.pw
-rw-rw  1 mailman  mailman   3760 Dec 28 09:40 aliases
-rw-rw  1 mailman  mailman  16384 Dec 28 09:40 aliases.db


The ownership of the above aliases.db file is what controls the group
with which Postfix invokes the mail wrapper. Postfix runs the wrapper
with user:group of the owner of that file. I.e. group 'mailman', but
not because the file is group 'mailman'; rather because the owner of
the file is 'mailman' and 'mailman's primary group is 'mailman'.


[...]
I tried to get the mail script changed to run --with-mail-gid=nobody but 
either I did not issue the command correctly or if I did it made no 
difference.! If someone could post the comand line that works on a freebsd 7.2 
system which they know to be correct I will try that again.


--with-mail-gid=nobody is wrong in the first place. it would be
--with-mail-gid=mailman in your case, but this is not an option to the
mail wrapper. It is an option to configure in the configure/make/make
install process to build and install Mailman.

If you are running a FreeBSD package, you aren't doing this process, so
--with-mail-gid=mailman is not applicable in your case. The FreeBSD
package probably has a way to set this, but how is a FreeBSD package
question that I can't answer. However, from the below, it appears that
the wrapper already expects group 'mailman' which should be correct.


Extract from maillog:
[...]
Dec 28 09:25:41 dns1 postfix/local[44511]: 1278934D451: 
to=bps_comps_print_annou...@vizion2000.net, relay=local, delay=0.08, 
delays=0.06/0.01/0/0.01, dsn=5.3.0, status=bounced (Command died with status 
2: /usr/local/mailman/mail/mailman post bps_comps_print_announce. Command 
output: Group mismatch error.  Mailman expected the mail wrapper script to be 
executed as group mailman, but the system's mail server executed the mail 
script as group nobody.  Try tweaking the mail server to run the script as 
group mailman, or re-run configure,  providing the command line option `--
with-mail-gid=nobody'. )


This indicates that the wrapper is expecting group 'mailman' which is
correct, but either 'mailman's primary group is 'nobody' which is both
wrong and unlikely, or Postfix found the alias for
bps_comps_print_announce in /etc/aliases.db which is owned by root so
it fell back to 'default_privs'.

I suspect the latter is the explanation. There should be no Mailman
aliases in /etc/aliases. Mailman will maintain them automatically in
data/aliases which should be referenced in Postfix' alias_maps.

-- 
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
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] Group mismatch error..on Freebsd 7.2 p3 amd64

2009-12-28 Thread David Southwell
 David Southwell wrote:
 Despite scouring the web and trying the many different solutions that seem
  to be offered to this problem I have be unable to fix it. Is there a way
  of tracing the cause in my particular instance?
 
 Yes.
 
 The entry in maillog does not say how to tweak postfix!
 
 No, but Postfix's 'man 8 local' manpage does in the 'DELIVERY RIGHTS'
 paragraph.
 
 
 [...]
 
 dns1# ls -l ./data
 total 58
 -rw-r-  1 mailman  mailman 41 Dec 19 17:46 adm.pw
 -rw-rw  1 mailman  mailman   3760 Dec 28 09:40 aliases
 -rw-rw  1 mailman  mailman  16384 Dec 28 09:40 aliases.db
 
 The ownership of the above aliases.db file is what controls the group
 with which Postfix invokes the mail wrapper. Postfix runs the wrapper
 with user:group of the owner of that file. I.e. group 'mailman', but
 not because the file is group 'mailman'; rather because the owner of
 the file is 'mailman' and 'mailman's primary group is 'mailman'.
 
 
 [...]
 
 I tried to get the mail script changed to run --with-mail-gid=nobody but
 either I did not issue the command correctly or if I did it made no
 difference.! If someone could post the comand line that works on a freebsd
  7.2 system which they know to be correct I will try that again.
 
 --with-mail-gid=nobody is wrong in the first place. it would be
 --with-mail-gid=mailman in your case, but this is not an option to the
 mail wrapper. It is an option to configure in the configure/make/make
 install process to build and install Mailman.
 
 If you are running a FreeBSD package, you aren't doing this process, so
 --with-mail-gid=mailman is not applicable in your case. The FreeBSD
 package probably has a way to set this, but how is a FreeBSD package
 question that I can't answer. However, from the below, it appears that
 the wrapper already expects group 'mailman' which should be correct.
 
 Extract from maillog:
 
 [...]
 
 Dec 28 09:25:41 dns1 postfix/local[44511]: 1278934D451:
 to=bps_comps_print_annou...@vizion2000.net, relay=local, delay=0.08,
 delays=0.06/0.01/0/0.01, dsn=5.3.0, status=bounced (Command died with
  status 2: /usr/local/mailman/mail/mailman post
  bps_comps_print_announce. Command output: Group mismatch error.  Mailman
  expected the mail wrapper script to be executed as group mailman, but
  the system's mail server executed the mail script as group nobody.  Try
  tweaking the mail server to run the script as group mailman, or re-run
  configure,  providing the command line option `-- with-mail-gid=nobody'.
  )
 
 This indicates that the wrapper is expecting group 'mailman' which is
 correct, but either 'mailman's primary group is 'nobody' which is both
 wrong and unlikely, or Postfix found the alias for
 bps_comps_print_announce in /etc/aliases.db which is owned by root so
 it fell back to 'default_privs'.
 
 I suspect the latter is the explanation. There should be no Mailman
 aliases in /etc/aliases. Mailman will maintain them automatically in
 data/aliases which should be referenced in Postfix' alias_maps.
 

OK

You were right on the ball!! I removed mailman aliases which were indeed in 
/etc/aliases and the problem went away..

Well done
Thanks

David



--
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] group mismatch error with postfix

2007-04-03 Thread Neven Luetic

 Meanwhile I noticed that I get the same error, even if I move the
 mailman file away. 
 
 
 The group mismatch error is coming from some Mailman mail/mailman
 wrapper, so if you move yours aside and still get the error, Postfix
 is piping to a different wrapper.
 
 Look at your Postfix configuration and find every alias file it
 references and look in all those files. There is some aliases* file
 somewhere referenced by Postfix and probably owned by root which is
 piping mail for this list to some other wrapper.

I checked the aliases used by postfix and every occurence of
mail/mailman or mail/wrapper, renamed them all, restarted mailman
and postfix and - using commandline mail from mailx - still got the
same error! 

After replacing package mailx by mail the command mailman finally
could not be found as expected. Now with the new source installation of
mailman everything is ok. 

If You have a sensible explanation for this, I would be interested. 
Seems that the whole installation was pretty broken.

Thank You for Your help

Neven

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] group mismatch error with postfix

2007-04-02 Thread Mark Sapiro
Neven Luetic wrote:

Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group list, but
the system's mail server executed the mail script as
group root.  Try tweaking the mail server to run the
script as group list, or re-run configure, 
providing the command line option `--with-mail-gid=root'.

I read the FAQ, and the hints about file ownership of the mailman
aliases file in combination with postfix. It is set correctly to user
and owner list and 660:
-rw-rw  1 list list 6,7K 2006-09-18 16:37 aliases
-rw-rw  1 list list  12K 2006-09-18 16:37 aliases.db


This looks correct assuming that the particular alias in question came
from the above aliases file and not from /etc/aliases* or some other
file owned by root.


Then I tried to install mailman from source giving --with-mail-gid=list
in case some other file is involved, but that didn't help either.


You have it backwards. The wrapper already expected group 'list'. You
would have had to specify --with-mail-gid=root to fix the above
mismatch. See
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.htp.


The wrapper-script has ownership root:list and guid bit set:
-rwxr-xr-x  1 root list 6,5K 2006-09-20 14:19 mailman


It doesn't look like SETGID is set. It should be -rwxr-sr-x.

-- 
Mark Sapiro [EMAIL PROTECTED]   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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] group mismatch error with postfix

2007-04-02 Thread Mark Sapiro
Neven Luetic wrote:

Meanwhile I noticed that I get the same error, even if I move the
mailman file away. 


The group mismatch error is coming from some Mailman mail/mailman
wrapper, so if you move yours aside and still get the error, Postfix
is piping to a different wrapper.

Look at your Postfix configuration and find every alias file it
references and look in all those files. There is some aliases* file
somewhere referenced by Postfix and probably owned by root which is
piping mail for this list to some other wrapper.

-- 
Mark Sapiro [EMAIL PROTECTED]   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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group mismatch error

2007-02-14 Thread Barry Finkel
Mark Sapiro replied to my posting about group-id mismatches, in part:

My questions are these:

1) Where is this group test being made?


In the wrapper /usr/lib/mailman/mail/mailman.

...

In a 'package' installation, the expected group is determined by what
ever magic the packager has resorted to to avoid having to recompile
the wrapper.

I was looking at this wrapper executable and how it is compiled.
I needed to determine the magic involved.  I have the script output
of my installations on Solaris and Ubuntu.  I found this Debian/Ubuntu
patch

 10_wrapper_uid.dpatch

that contains, in part, this change to mail-wrapper.c:

=
--- mailman-2.1.4.orig/src/mail-wrapper.c
+++ mailman-2.1.4/src/mail-wrapper.c
@@ -74,7 +74,7 @@
 fatal(logident, MAIL_ILLEGAL_COMMAND,
   Illegal command: %s, argv[1]);
 
-check_caller(logident, parentgroup);
+   if (getgid() = 100  getgid() != 65534) check_caller(logident, 
LEGAL_PARENT_GROUP);
 
 /* If we got here, everything must be OK */
 status = run_script(argv[1], argc, argv, env);
=

The patch contains a similar patch to cgi-wrapper.c .

From the debian/changelog, with the oldest patch first:

---
mailman (1.0b7-1) unstable; urgency=low

  * Don't check caller gid in mail-wrapper

 -- Gergely Madarasz [EMAIL PROTECTED]  Fri,  8 Jan 1999 02:24:00 +0100
---
mailman (2.0.3-2) unstable; urgency=low

  * Applied some old patches which had got lost, including allowing the
calling of the wrapper scripts if GID == nobody or  100.  (Closes:
#36010, #89564, #89848, 89818)

 -- Tollef Fog Heen [EMAIL PROTECTED]  Wed, 14 Mar 2001 13:40:16 +0100
---

From the Debian web site:

mailman  (2.0.3-3) unstable; urgency=low 

  * Mailman has supported having nobody as the CGI user for some time
 (closes: #36010)

- Tollef Fog Heen [EMAIL PROTECTED]  Fri, 16 Mar 2001 11:06:44 +0100
---

There was no additional information on patches #89564, #89848, 89818.

The patch appears to be calling

 check_caller

only if the group is over 99 and not 65534, and it is calling that
routine with a different parent group.  But the mail-wrapper.c code has

 #define LEGAL_PARENT_GROUP MAIL_GROUP
 const char* parentgroup = LEGAL_PARENT_GROUP;

I have no idea for the reasoning behind Don't check caller gid in
mail-wrapper, nor do I understand the reasoning for the nobody and
 100 GID checks.  I do not know if the change to the second parameter
of check_caller is significant.

When I built my 2.1.9 package, I did not include any of the Debian
patches except for one that changes two parameters in Defaults.py.in:

 IMAGE_LOGOS
 DEFAULT_URL_PATTERN

What I have on my Ubuntu test system in /etc/group is:

 daemon:x:1:
 list:x:38:

I have to conclude that the straight Ubuntu/Debian package installation
was not checking the group-id because the daemon and list groups have
ID below 100.  When I built and installed the 2.1.9 Ubuntu package
without this patch, the Mailman code began checking the group-id and
found a mismatch.

I would appreciate it if someone would confirm my conclusions.  Thanks.
--
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory  Phone:+1 (630) 252-7277
9700 South Cass Avenue   Facsimile:+1 (630) 252-4601
Building 222, Room D209  Internet: [EMAIL PROTECTED]
Argonne, IL   60439-4828 IBMMAIL:  I1004994

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group mismatch error

2007-02-14 Thread Mark Sapiro
Barry Finkel wrote:

The patch appears to be calling

 check_caller

only if the group is over 99 and not 65534, and it is calling that
routine with a different parent group.  But the mail-wrapper.c code has

 #define LEGAL_PARENT_GROUP MAIL_GROUP
 const char* parentgroup = LEGAL_PARENT_GROUP;


It's not really different. MAIL_GROUP is defined in the 'cc' command
generated by configure with value equal to the --with-mail-gid
argument or default. Then the first line above defines
LEGAL_PARENT_GROUP with the value of MAIL_GROUP. the second line
defines parentgroup as a constant character pointer (or string) equal
to LEGAL_PARENT_GROUP. Whether check_caller is called with a second
argument of parentgroup or LEGAL_PARENT_GROUP, the result is going to
be the same although the latter may produce a compiler warning.


I have no idea for the reasoning behind Don't check caller gid in
mail-wrapper, nor do I understand the reasoning for the nobody and
 100 GID checks.  I do not know if the change to the second parameter
of check_caller is significant.


If you didn't read
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.htp
which I referenced previously, read it now.

In brief summary, the MTA invokes Mailman's wrapper which is SETGID and
Mailman's group ('list' in your case IIRC). Thus, the wrapper and the
scripts it calls run as group 'list' so they have the permissions they
need.

In order to prevent anyone who might have shell access to the server
from running the wrappers as commands and doing whatever they might
do, the wrapper is written to expect to be invoked by a specific group
- the group that the MTA runs it as in the case of the mail wrapper,
the group that the web server runs CGIs as in the case of the CGI
wrappers. If it is not invoked by the expected group, it refuses to
run (it dies in check_caller).


The Debian/Ubuntu patch allows any group with GID 100 in addition to
the precompiled 'expected' group, presumably on the theory that
untrusted users all have GIDs =100 so letting any GID 100 run the
wrapper is OK.


When I built my 2.1.9 package, I did not include any of the Debian
patches except for one that changes two parameters in Defaults.py.in:

 IMAGE_LOGOS
 DEFAULT_URL_PATTERN

What I have on my Ubuntu test system in /etc/group is:

 daemon:x:1:
 list:x:38:

I have to conclude that the straight Ubuntu/Debian package installation
was not checking the group-id because the daemon and list groups have
ID below 100.  When I built and installed the 2.1.9 Ubuntu package
without this patch, the Mailman code began checking the group-id and
found a mismatch.

I would appreciate it if someone would confirm my conclusions.  Thanks.


Your conclusion as I understand it is correct.

-- 
Mark Sapiro [EMAIL PROTECTED]   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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Group mismatch error

2007-02-13 Thread Barry Finkel
I am having a problem with Mailman.  I have two test machines.
On one (Sun Solaris 10) I installed Mailman 2.1.8 and then upgraded
to 2.1.9.  On the other (Ubuntu dapper), I installed the Mailman
2.1.5 package.  Both installations worked after some simple fixups.

As the Ubuntu Mailman package is 2.1.5 (i.e., some older version with
Ubuntu/Debian changes that have not been sent back to the developers),
I decided to build a Ubuntu/Debian package using the Mailman 2.1.9
source.  After a few problems I built a package.

I installed the package on Ubuntu, replacing the 2.1.5.  When I sent
mail to one of my test lists, I got this message:

Diagnostic-Code: X-Postfix; Command died with status 2:
/var/lib/mailman/mail/mailman post vm6bsftest3. Command output:
Group mismatch error.  Mailman expected the mail wrapper script to
be executed as group daemon, but the system's mail server executed
the mail script as group nogroup.  Try tweaking the mail server
to run the script as group daemon, or re-run configure,  providing
the command line option `--with-mail-gid=nogroup'.

I then ran bin/check_perms -f, and this is the output:

vm6%% sudo /usr/lib/mailman/bin/check_perms -f
directory permissions must be 02775: /var/lib/mailman/icons (fixing)
directory permissions must be 02775: /var/lib/mailman/cgi-bin (fixing)
directory permissions must be 02775: /var/lib/mailman/Mailman (fixing)
directory permissions must be 02775: /var/lib/mailman/bin (fixing)
directory permissions must be 02775: /var/lib/mailman/cron (fixing)
directory permissions must be 02775: /var/lib/mailman/mail (fixing)
directory permissions must be 02775: /var/lib/mailman/scripts (fixing)
directory permissions must be 02775: /var/lib/mailman/templates (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/zh_CN (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ar (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ia (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/vi (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/zh_TW (fixing)
directory permissions must be 02775: 
/var/lib/mailman/messages/zh_CN/LC_MESSAGES (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ar/LC_MESSAGES 
(fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ia/LC_MESSAGES 
(fixing)
directory permissions must be 02775: /var/lib/mailman/messages/vi/LC_MESSAGES 
(fixing)
directory permissions must be 02775: 
/var/lib/mailman/messages/zh_TW/LC_MESSAGES (fixing)
/var/lib/mailman/data/aliases.db owned by root (must be owned by list (fixing)
Problems found: 19
Re-run as list (or root) with -f flag to fix
vm6%% sudo /usr/lib/mailman/bin/check_perms -f
No problems found
vm6%%

I sent another test message to the same list, and I got this error
messsage:

Diagnostic-Code: X-Postfix; Command died with status 2: 
/var/lib/mailman/mail/mailman post vm6bsftest3. Command output:
Group mismatch error.  Mailman expected the mail wrapper script to
be executed as group daemon, but the system's mail server executed
the mail script as group list.  Try tweaking the mail server to
run the script as group daemon, or re-run configure,  providing
the command line option `--with-mail-gid=list'.

The only differences between the first error and the second are

 Mailman expected the mail wrapper script to be executed as group
 daemon, but the system's mail server executed the mail script as
 group nogroup.   (nogroup == list)

 ... or re-run configure,  providing the command line option
 `--with-mail-gid=nogroup'.   (nogroup == list)

When I built the Ubuntu 2.1.9 package, the configure had

 --with-mail-gid=daemon

and I assume that the same was true of the Ubuntu 2.1.5 package I had
initially installed.

My questions are these:

1) Where is this group test being made?

2) What in the check_perms run caused the change in the message from
   nogroup to list?

3) My MTA is Postfix.  The 

/usr/lib/mailman/mail/mailman

   executable has ownership

root:list

   in both the Ubuntu 2.1.9 and 2.1.5 installations.
   Is there some file whose ownership has to change to correct this
   mismatch reported in the error message?

Thanks.
--
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory  Phone:+1 (630) 252-7277
9700 South Cass Avenue   Facsimile:+1 (630) 252-4601
Building 222, Room D209  Internet: [EMAIL PROTECTED]
Argonne, IL   60439-4828 IBMMAIL:  I1004994

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: 

Re: [Mailman-Users] Group mismatch error

2007-02-13 Thread Mark Sapiro
Barry Finkel wrote:

I decided to build a Ubuntu/Debian package using the Mailman 2.1.9
source.  After a few problems I built a package.

I installed the package on Ubuntu, replacing the 2.1.5.  When I sent
mail to one of my test lists, I got this message:

Diagnostic-Code: X-Postfix; Command died with status 2:
/var/lib/mailman/mail/mailman post vm6bsftest3. Command output:
Group mismatch error.  Mailman expected the mail wrapper script to
be executed as group daemon, but the system's mail server executed
the mail script as group nogroup.  Try tweaking the mail server
to run the script as group daemon, or re-run configure,  providing
the command line option `--with-mail-gid=nogroup'.

I then ran bin/check_perms -f, and this is the output:


This is not a permissions issue. check_perms won't fix it.



I sent another test message to the same list, and I got this error
messsage:

Diagnostic-Code: X-Postfix; Command died with status 2: 
/var/lib/mailman/mail/mailman post vm6bsftest3. Command output:
Group mismatch error.  Mailman expected the mail wrapper script to
be executed as group daemon, but the system's mail server executed
the mail script as group list.  Try tweaking the mail server to
run the script as group daemon, or re-run configure,  providing
the command line option `--with-mail-gid=list'.

The only differences between the first error and the second are

 Mailman expected the mail wrapper script to be executed as group
 daemon, but the system's mail server executed the mail script as
 group nogroup.   (nogroup == list)

 ... or re-run configure,  providing the command line option
 `--with-mail-gid=nogroup'.   (nogroup == list)

When I built the Ubuntu 2.1.9 package, the configure had

 --with-mail-gid=daemon

and I assume that the same was true of the Ubuntu 2.1.5 package I had
initially installed.


See below for remark on packager magic.


My questions are these:

1) Where is this group test being made?


In the wrapper /usr/lib/mailman/mail/mailman.


2) What in the check_perms run caused the change in the message from
   nogroup to list?


It changed the group of the Postfix aliases file that contains the
aliases for Mailman.


3) My MTA is Postfix.  The 

/usr/lib/mailman/mail/mailman

   executable has ownership

root:list


Correct. It is also SETGID. See
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.htp.

With Postfix, the /usr/lib/mailman/data/aliases* files need to be in
mailman's group ('list' in your case) so that Mailman's Postfix
integration can update them. This causes Postfix to execute the pipe
to the wrapper as group 'list', thus the wrapper must expect to be
executed as group 'list', thus you must configure with
--with-mail-gid=list.


   in both the Ubuntu 2.1.9 and 2.1.5 installations.
   Is there some file whose ownership has to change to correct this
   mismatch reported in the error message?


Postfix AFAIK is the only common MTA that uses ownership of the aliases
to determine user and group under which they run. This is the source
of the group in 'system's mail server executed the mail script as
group list'. In a source installation, the 'expected' group is
compiled into the wrapper as a result of configure's --with-mail-gid
option.

In a 'package' installation, the expected group is determined by what
ever magic the packager has resorted to to avoid having to recompile
the wrapper.

-- 
Mark Sapiro [EMAIL PROTECTED]   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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Group Mismatch Error

2007-01-26 Thread Jay Chandler
Time for this old chestnut again, but with a bit of a twist.

Postfix (latest stable), FreeBSD 6.2, latest version of Mailman.

Attempted to send a test message to my list.

ommand died with status 2: /usr/local/mailman/mail/mailman post
netoplist. 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'.


Yet...
mybox# ll
total 38
-rw-r-  1 root mailman 41 Jan 26 13:33 adm.pw
-rw-rw  1 mailman  mailman   1995 Jan 26 13:36 aliases
-rw-rw  1 mailman  mailman  16384 Jan 26 13:36 aliases.db
-rw-r--r--  1 root mailman 10 Jan  8 10:32 last_mailman_version
-rw-rw  1 mailman  mailman  6 Jan 26 11:13 master-qrunner.pid
-rw-r--r--  1 root mailman  14114 Jan  8 10:32 sitelist.cfg

Is there something blindingly obvious that I'm missing?

-- 
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: Just pick up the phone and give modem connect sounds. Well you 
said we should get more lines so we don't have voice lines. 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group Mismatch Error

2007-01-26 Thread Mark Sapiro
Jay Chandler wrote:

Postfix (latest stable), FreeBSD 6.2, latest version of Mailman.

Attempted to send a test message to my list.

ommand died with status 2: /usr/local/mailman/mail/mailman post
netoplist. 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'.


Yet...
mybox# ll
total 38
-rw-r-  1 root mailman 41 Jan 26 13:33 adm.pw
-rw-rw  1 mailman  mailman   1995 Jan 26 13:36 aliases
-rw-rw  1 mailman  mailman  16384 Jan 26 13:36 aliases.db
-rw-r--r--  1 root mailman 10 Jan  8 10:32 last_mailman_version
-rw-rw  1 mailman  mailman  6 Jan 26 11:13 master-qrunner.pid
-rw-r--r--  1 root mailman  14114 Jan  8 10:32 sitelist.cfg

Is there something blindingly obvious that I'm missing?


Maybe. Where did the netoptlist alias come from. Did Postfix find the
alias somewhere else (maybe /etc/aliases*) either before or instead of
Mailman's data/aliases*?

-- 
Mark Sapiro [EMAIL PROTECTED]   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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group Mismatch Error

2007-01-26 Thread Jay Chandler
Mark Sapiro wrote:
 Jay Chandler wrote:
   
 Postfix (latest stable), FreeBSD 6.2, latest version of Mailman.

 Attempted to send a test message to my list.

 ommand died with status 2: /usr/local/mailman/mail/mailman post
netoplist. 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'.


 Yet...
 mybox# ll
 total 38
 -rw-r-  1 root mailman 41 Jan 26 13:33 adm.pw
 -rw-rw  1 mailman  mailman   1995 Jan 26 13:36 aliases
 -rw-rw  1 mailman  mailman  16384 Jan 26 13:36 aliases.db
 -rw-r--r--  1 root mailman 10 Jan  8 10:32 last_mailman_version
 -rw-rw  1 mailman  mailman  6 Jan 26 11:13 master-qrunner.pid
 -rw-r--r--  1 root mailman  14114 Jan  8 10:32 sitelist.cfg

 Is there something blindingly obvious that I'm missing?
 


 Maybe. Where did the netoptlist alias come from. Did Postfix find the
 alias somewhere else (maybe /etc/aliases*) either before or instead of
 Mailman's data/aliases*?

   
Nope-- I created that myself as a test list.

The other aliases file is owned by root:wheel.

-- 
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: Just pick up the phone and give modem connect sounds. Well you 
said we should get more lines so we don't have voice lines. 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group Mismatch Error

2007-01-26 Thread Mark Sapiro
Jay Chandler wrote:
Mark Sapiro wrote:
 Jay Chandler wrote:
   
 Postfix (latest stable), FreeBSD 6.2, latest version of Mailman.

 Attempted to send a test message to my list.

 ommand died with status 2: /usr/local/mailman/mail/mailman post
netoplist. 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'.


 Yet...
 mybox# ll
 total 38
 -rw-r-  1 root mailman 41 Jan 26 13:33 adm.pw
 -rw-rw  1 mailman  mailman   1995 Jan 26 13:36 aliases
 -rw-rw  1 mailman  mailman  16384 Jan 26 13:36 aliases.db
 -rw-r--r--  1 root mailman 10 Jan  8 10:32 last_mailman_version
 -rw-rw  1 mailman  mailman  6 Jan 26 11:13 master-qrunner.pid
 -rw-r--r--  1 root mailman  14114 Jan  8 10:32 sitelist.cfg

 Is there something blindingly obvious that I'm missing?
 


 Maybe. Where did the netoptlist alias come from. Did Postfix find the
 alias somewhere else (maybe /etc/aliases*) either before or instead of
 Mailman's data/aliases*?

   
Nope-- I created that myself as a test list.

The other aliases file is owned by root:wheel.


My mistake, I got it backwards. Postfix is executing the wrapper as
mailman:mailman, the owner:group of the aliases. Mailman's wrapper is
expecting group 'nobody'.

You can't change the owner:group of the aliases or list creation won't
be able to update them. This means you need to reconfigure the wrapper
to expect group 'mailman' instead of 'nobody'. There is probably some
FreeBSD port magic way to do this, but I don't know what it is.

-- 
Mark Sapiro [EMAIL PROTECTED]   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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group Mismatch error

2006-01-22 Thread Mark Sapiro
Myo Zaw Nyunt wrote:

I got the following error after I post my first mail to the list. I am using
Sendmail. I don't know what to do.

Regards,
Myo Gyi

Servername Mailman mail-wrapper: Group mismatch error.  Mailman expected the
mail wrapper script to be executed as group mailman, but the system's mail
server executed the mail script as group mailnull.  Try tweaking the mail
server to run the script as group mailman, or re-run configure,  providing
the command line option `--with-mail-gid=mailnull'.

Do what it says. If you installed from source, rerun configure, adding
or changing the option --with-mail-gid=mailnull, and then run 'make
install'

If you installed from a package, there may be some package dependent
way of changing the group the wrapper expects.

Or, if you can, you can tell sendmail to run as gropp 'mailman' when
executing the wrapper.

See
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.htp.

-- 
Mark Sapiro [EMAIL PROTECTED]   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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Group Mismatch error

2006-01-20 Thread Myo Zaw Nyunt
HI All,

I got the following error after I post my first mail to the list. I am using
Sendmail. I don't know what to do.

Regards,
Myo Gyi

Servername Mailman mail-wrapper: Group mismatch error.  Mailman expected the
mail wrapper script to be executed as group mailman, but the system's mail
server executed the mail script as group mailnull.  Try tweaking the mail
server to run the script as group mailman, or re-run configure,  providing
the command line option `--with-mail-gid=mailnull'.

server1 sm-mta[624]: k0LDB3ZM000623: to=|/usr/local/mailman/mail/mailman
post
test\r, ctladdr=[EMAIL PROTECTED] (26/0), delay=00:00:00,
xdelay=00:00:00, mailer=prog, pri=30760, dsn=5.3.0, stat=unknown mailer
error 2

server1 sm-mta[624]: k0LDB3ZM000623: k0LDB3ZM000624: DSN: unknown mailer
error 2
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group mismatch error

2005-05-11 Thread John Poltorak
On Tue, May 10, 2005 at 08:21:58PM -0400, Steve Burling wrote:
 --On May 10, 2005 11:45:29 PM +0100 John Poltorak [EMAIL PROTECTED] wrote:
 
  Can someone explain what I need to do when I get this error - I don't
  want  to have to re-run configure.
 
 To which I reply:
 
 Then your choice would appear to be the other option given in the error 
 message:
 
  Try tweaking the mail server to run the script as group mail


Which script are you referring to?

 
 What's so hard about re-running configure?

I have had things working before, running configure with all the defaults 
and don't want to mess with anything if I can avoid it.

 
 -- 
 Steve Burlingmailto:[EMAIL PROTECTED]
 University of Michigan, ICPSRVoice: +1 734 615.3779
 330 Packard Street   FAX:   +1 734 647.8700
 Ann Arbor, MI 48104-2910


-- 
John


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group mismatch error

2005-05-11 Thread Steve Burling
--On May 11, 2005 9:34:29 AM +0100 John Poltorak [EMAIL PROTECTED] wrote:

 Which script are you referring to?

The entire text of the error message is:

Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group mail, but
the system's mail server executed the mail script as
group mailnull.  Try tweaking the mail server to run the
script as group mail, or re-run configure,
providing the command line option `--with-mail-gid=mailnull'.
554 5.3.0 unknown mailer error 2

So it's the mail wrapper script that I was referring to.

 I have had things working before, running configure with all the defaults
 and don't want to mess with anything if I can avoid it.

If it was working before, you didn't see this error, and you haven't 
changed your mailman installation, then something else changed.  Maybe 
that'll give you some clues as to what you have to fix.  Also see the 
mailman FAQ at:

http://www.python.org/cgi-bin/faqw-mm.py



-- 
Steve Burlingmailto:[EMAIL PROTECTED]
University of Michigan, ICPSRVoice: +1 734 615.3779
330 Packard Street   FAX:   +1 734 647.8700
Ann Arbor, MI 48104-2910
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group mismatch error

2005-05-11 Thread John Dennis
On Tue, 2005-05-10 at 23:45 +0100, John Poltorak wrote:
 Can someone explain what I need to do when I get this error - I don't want 
 to have to re-run configure.
 
 Group mismatch error.  Mailman expected the mail
 wrapper script to be executed as group mail, but
 the system's mail server executed the mail script as
 group mailnull.  Try tweaking the mail server to run the
 script as group mail, or re-run configure,
 providing the command line option `--with-mail-gid=mailnull'.
 554 5.3.0 unknown mailer error 2

As has beem said, you have two choices, either re-configure, re-build,
or change how your MTA executes child processes (or possibly just how
your MTA executes)

If this was working before then something must have changed with your
MTA, but you didn't say which MTA you're using. Some MTA's can be
configured via their config file to run with specific identities (e.g.
the postfix mail_owner parameter). Ths is an MTA issue, please consult
your MTA documentation.
-- 
John Dennis [EMAIL PROTECTED]

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group mismatch error

2005-05-11 Thread John Poltorak
On Wed, May 11, 2005 at 09:08:40AM -0400, John Dennis wrote:
 On Tue, 2005-05-10 at 23:45 +0100, John Poltorak wrote:
  Can someone explain what I need to do when I get this error - I don't want 
  to have to re-run configure.
  
  Group mismatch error.  Mailman expected the mail
  wrapper script to be executed as group mail, but
  the system's mail server executed the mail script as
  group mailnull.  Try tweaking the mail server to run the
  script as group mail, or re-run configure,
  providing the command line option `--with-mail-gid=mailnull'.
  554 5.3.0 unknown mailer error 2
 
 As has beem said, you have two choices, either re-configure, re-build,
 or change how your MTA executes child processes (or possibly just how
 your MTA executes)
 
 If this was working before then something must have changed with your
 MTA, but you didn't say which MTA you're using. Some MTA's can be
 configured via their config file to run with specific identities (e.g.
 the postfix mail_owner parameter). Ths is an MTA issue, please consult
 your MTA documentation.


I'm using sendmail but don't know which permissions need changing. I 
thought this would have been the file which needed the correct 
permissions:-


# ls -al /usr/local/mailman/mail
total 48
drwxrwsr-x2 root mailman  4096 Jan 31  2004 .
drwxrwsr-x   20 root mailman  4096 Mar 19  2003 ..
-rwxr-sr-x1 root mailman 39385 Jan 31  2004 mailman

If I have mailman running with UID root, I don't understand what the 
problem is. Should I just add mailman to the mail group?

I guess this sounds like a FAQ...

 -- 
 John Dennis [EMAIL PROTECTED]
 

-- 
John


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group mismatch error

2005-05-11 Thread John Dennis
On Wed, 2005-05-11 at 17:12 +0100, John Poltorak wrote:
 On Wed, May 11, 2005 at 09:08:40AM -0400, John Dennis wrote:
  On Tue, 2005-05-10 at 23:45 +0100, John Poltorak wrote:
   Can someone explain what I need to do when I get this error - I don't 
   want 
   to have to re-run configure.
   
   Group mismatch error.  Mailman expected the mail
   wrapper script to be executed as group mail, but
   the system's mail server executed the mail script as
   group mailnull.  Try tweaking the mail server to run the
   script as group mail, or re-run configure,
   providing the command line option `--with-mail-gid=mailnull'.
   554 5.3.0 unknown mailer error 2
  
  As has beem said, you have two choices, either re-configure, re-build,
  or change how your MTA executes child processes (or possibly just how
  your MTA executes)
  
  If this was working before then something must have changed with your
  MTA, but you didn't say which MTA you're using. Some MTA's can be
  configured via their config file to run with specific identities (e.g.
  the postfix mail_owner parameter). Ths is an MTA issue, please consult
  your MTA documentation.
 
 
 I'm using sendmail but don't know which permissions need changing. I 
 thought this would have been the file which needed the correct 
 permissions:-
 
 
 # ls -al /usr/local/mailman/mail
 total 48
 drwxrwsr-x2 root mailman  4096 Jan 31  2004 .
 drwxrwsr-x   20 root mailman  4096 Mar 19  2003 ..
 -rwxr-sr-x1 root mailman 39385 Jan 31  2004 mailman

No, this is the wrapper, the wrapper is trying to verify the identity of
the process which is invoking it, which is your MTA. The wrapper is
built with the MTA's gid in (via the --with-mail-gid parameter). 

 If I have mailman running with UID root, I don't understand what the 
 problem is. Should I just add mailman to the mail group?

No, you've got this backwards. What is going on is that your MTA invokes
the mailman wrapper. The wrapper in effect says I will only execute if
and only if I trust the program that invoked me, which must be an MTA.
It makes that decision by looking at the group of the program that
invoked it and compares it to the group that was inserted into its
source code via the --with-mail-gid parameter. If those two groups match
it trusts this is really the MTA that is asking mailman to process mail.

The problem you're having is that the MTA that is invoking mailman is
not running with the group identity that you told mailman it would
execute with when you built it.

 I guess this sounds like a FAQ...

Yes, actually I wrote up a whole explanation of this a few weeks back on
the developers list because this is so much misinformation and confusion
with respect to this issue. It's time to get that into the FAQ.
-- 
John Dennis [EMAIL PROTECTED]

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Group mismatch error

2005-05-10 Thread John Poltorak

Can someone explain what I need to do when I get this error - I don't want 
to have to re-run configure.

Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group mail, but
the system's mail server executed the mail script as
group mailnull.  Try tweaking the mail server to run the
script as group mail, or re-run configure,
providing the command line option `--with-mail-gid=mailnull'.
554 5.3.0 unknown mailer error 2



-- 
John


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group mismatch error

2005-05-10 Thread Steve Burling
--On May 10, 2005 11:45:29 PM +0100 John Poltorak [EMAIL PROTECTED] wrote:

 Can someone explain what I need to do when I get this error - I don't
 want  to have to re-run configure.

To which I reply:

Then your choice would appear to be the other option given in the error 
message:

 Try tweaking the mail server to run the script as group mail

What's so hard about re-running configure?

-- 
Steve Burlingmailto:[EMAIL PROTECTED]
University of Michigan, ICPSRVoice: +1 734 615.3779
330 Packard Street   FAX:   +1 734 647.8700
Ann Arbor, MI 48104-2910
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] 'Group mismatch error' problem

2005-03-24 Thread Kevin Ratcliffe
Mark Sapiro wrote:
Kevin Ratcliffe wrote:
 

Can anybody help me please.  I've installed Mailman as per the install 
instructions.  I am using exim as my MTA.
I configured mailman with './configure --with-mail-gid=mail 
--with-cgi-gid=apache'
I installed exim with the user and group 'mail'.
I followed the instructions to configure exim for mailman.
My MTA seems to be working fine.
But I cant seem to get any mailing lists to work.
I can sbuscribe to groups but never get an email reply.

when I do a '$MM_PREFIX/mail/mailman post', I get:
Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group mail, but
the system's mail server executed the mail script as
group root.  Try tweaking the mail server to run the
script as group mail, or re-run configure,
providing the command line option `--with-mail-gid=root'.
   


This happens when you run the command as user/group root. What happens
when Exim runs it? If exim (or you) runs it as group 'mail', it should
be fine.
 

when I check Mailmans smtp-failure log, I get:
Mar 23 14:27:36 2005 (1390) Low level smtp error: (111, 'Connection 
refused'), msgid: [EMAIL PROTECTED]
Mar 23 14:27:36 2005 (1390) delivery to [EMAIL PROTECTED] failed with 
code -1: (111, 'Connection refused')

I am assuming that exim cannot do the delivery because it cannot run the 
'$MM_PREFIX/mail/mailman post' script.
   

No, that is probably not the reason since the '$MM_PREFIX/mail/mailman
post' script is run for an incoming post and the smtp-failure message
above is related to an attempt by Mailman to send some message
(generated by mailman judging from the msgid) to you. Mailman is
unable to connect to the outgoing MTA via SMTP. If you haven't changed
SMTPHOST and SMTPPORT from their defaults in Defaults.py, this means
Mailman can't connect to 'localhost' port 25. This is probably an Exim
or system configuration issue, not a Mailman problem per se.
--
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
Thanks for your help Mark.
You were right about the 'connection refused' error.  I couldn't telnet 
to my localhost on port 25 as we have a mail virus scanner on that port, 
which I'd forgotten about, which needed a bit of messing around with.   
Now I get replies from mailman.

Alas, I still cannot post to the list I'd created.  I think I' getting 
there though.  I try to use mailing lists and usenet as a last resort 
and try to figure these things out for myself.  I prefer being pointed 
in the right direction.

Thanks again
Kev
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] 'Group mismatch error' problem

2005-03-23 Thread Kevin Ratcliffe
Hi
Can anybody help me please.  I've installed Mailman as per the install 
instructions.  I am using exim as my MTA.
I configured mailman with './configure --with-mail-gid=mail 
--with-cgi-gid=apache'
I installed exim with the user and group 'mail'.
I followed the instructions to configure exim for mailman.
My MTA seems to be working fine.
But I cant seem to get any mailing lists to work.
I can sbuscribe to groups but never get an email reply.

when I do a '$MM_PREFIX/mail/mailman post', I get:
Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group mail, but
the system's mail server executed the mail script as
group root.  Try tweaking the mail server to run the
script as group mail, or re-run configure,
providing the command line option `--with-mail-gid=root'.
when I check Mailmans smtp-failure log, I get:
Mar 23 14:27:36 2005 (1390) Low level smtp error: (111, 'Connection 
refused'), msgid: [EMAIL PROTECTED]
Mar 23 14:27:36 2005 (1390) delivery to [EMAIL PROTECTED] failed with 
code -1: (111, 'Connection refused')

I am assuming that exim cannot do the delivery because it cannot run the 
'$MM_PREFIX/mail/mailman post' script.

Can someone please give me a clue where I am going wrong.
Kev
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] 'Group mismatch error' problem

2005-03-23 Thread Mark Sapiro
Kevin Ratcliffe wrote:

Can anybody help me please.  I've installed Mailman as per the install 
instructions.  I am using exim as my MTA.
I configured mailman with './configure --with-mail-gid=mail 
--with-cgi-gid=apache'
I installed exim with the user and group 'mail'.
I followed the instructions to configure exim for mailman.
My MTA seems to be working fine.
But I cant seem to get any mailing lists to work.
I can sbuscribe to groups but never get an email reply.

when I do a '$MM_PREFIX/mail/mailman post', I get:

Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group mail, but
the system's mail server executed the mail script as
group root.  Try tweaking the mail server to run the
script as group mail, or re-run configure,
providing the command line option `--with-mail-gid=root'.


This happens when you run the command as user/group root. What happens
when Exim runs it? If exim (or you) runs it as group 'mail', it should
be fine.


when I check Mailmans smtp-failure log, I get:

Mar 23 14:27:36 2005 (1390) Low level smtp error: (111, 'Connection 
refused'), msgid: [EMAIL PROTECTED]
Mar 23 14:27:36 2005 (1390) delivery to [EMAIL PROTECTED] failed with 
code -1: (111, 'Connection refused')

I am assuming that exim cannot do the delivery because it cannot run the 
'$MM_PREFIX/mail/mailman post' script.

No, that is probably not the reason since the '$MM_PREFIX/mail/mailman
post' script is run for an incoming post and the smtp-failure message
above is related to an attempt by Mailman to send some message
(generated by mailman judging from the msgid) to you. Mailman is
unable to connect to the outgoing MTA via SMTP. If you haven't changed
SMTPHOST and SMTPPORT from their defaults in Defaults.py, this means
Mailman can't connect to 'localhost' port 25. This is probably an Exim
or system configuration issue, not a Mailman problem per se.

--
Mark Sapiro [EMAIL PROTECTED]   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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Group mismatch error. Mailman expected the mail

2005-01-11 Thread Dr. Scott S. Jones
John:
Group mismatch error. Mailman expected the mail wrapper script.
I am unsure how to resolve THIS error=2E I am hoping there is some
configuration file that I can update, instead of having to reconfigure my
Mailman installation entirely=2E=20
 

The group information is compiled into the mailman wrapper. You have two
choices, you can either change the group the MTA operates under to match
mailman or rebuild mailman again passing the group in the configure step
as recommended in the error message, this is probably the best solution.
FWIW a complete rebuild of mailman only takes a short while on most
boxes so it shouldn't be to painful, then just install to the same
location, nothing else should be affected although it might be prudent
to stop mailman during the install.
 

Thanks for the suggestions. I hate asking but I will. I vaguely 
understand the 'wrapper' concept, but you lost me in telling me to 
change the group, I know what a group is in linux, that one may belong 
to various groups, which permits or denys access and executive privilege 
based on the group, but i am miffed how to change a group under which 
some process or application operates. How do I change it's group, or 
even determine what group it works under? If it's too painful, or 
complex, and simply reconfiguring Mailman to work better with Exim is 
preferable, point the way, how to rebuild mailman to include all the 
right stuff.

Thanks for helping and not flaming me..
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] Group mismatch error. Mailman expected the mail

2005-01-10 Thread [EMAIL PROTECTED]
Group mismatch error. Mailman expected the mail wrapper script...
Date: Mon, 10 Jan 2005 09:04:28 -0500
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

I am unsure how to resolve THIS error=2E I am hoping there is some
configuration file that I can update, instead of having to reconfigure my
Mailman installation entirely=2E=20

 This message was created automatically by mail delivery software=2E

 A message that you sent could not be delivered to one or more of its
 recipients=2E This is a permanent error=2E The following address(es) fai=
led:

  pipe to |/var/lib/mailman/mail/mailman post 2ls
generated by [EMAIL PROTECTED]
local delivery failed

 The following text was generated during the delivery attempt:

 -- pipe to |/var/lib/mailman/mail/mailman post 2ls
   generated by [EMAIL PROTECTED] --

 Group mismatch error=2E  Mailman expected the mail
 wrapper script to be executed as group daemon, but
 the system's mail server executed the mail script as
 group Debian-exim=2E  Try tweaking the mail server to run the
 script as group daemon, or re-run configure,
 providing the command line option `--with-mail-gid=3DDebian-exim'=2E


Thanks for any help on this=2E=20

Scott


mail2web - Check your email from the web at
http://mail2web=2Ecom/ =2E


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] Group mismatch error

2004-05-21 Thread David Blomquist
I am getting the following error message but my mail server (Postfix) is
not set up as group apache. Anybody have an idea why I am getting this
error message?


This is the Postfix program at host 'my.mail.host.

I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.

For further assistance, please send mail to postmaster

If you do so, please include this problem report. You can
delete your own text from the message returned below.

The Postfix program

[EMAIL PROTECTED]: Command died with status 2:
/var/mailman/mail/mailman request mb_two. Command output: Group
mismatch
error. Mailman expected the mail wrapper script to be executed as
one of
the following groups: [mail, nobody, mailman], but the system's mail
server
executed the mail script as group: apache. Try tweaking the mail
server
to run the script as one of these groups: [mail, nobody, mailman],
or
re-run configure providing the command line option:
'--with-mail-gid=apache'.



Thanks,

David


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] Group mismatch error

2004-05-19 Thread David Blomquist
I am getting the following error message but my mail server (Postfix) is
not set up as group apache. Anybody have an idea why I am getting this
error message?


This is the Postfix program at host 'my.mail.host.

I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.

For further assistance, please send mail to postmaster

If you do so, please include this problem report. You can
delete your own text from the message returned below.

The Postfix program

[EMAIL PROTECTED]: Command died with status 2:
/var/mailman/mail/mailman request mb_two. Command output: Group
mismatch
error. Mailman expected the mail wrapper script to be executed as
one of
the following groups: [mail, nobody, mailman], but the system's mail
server
executed the mail script as group: apache. Try tweaking the mail
server
to run the script as one of these groups: [mail, nobody, mailman],
or
re-run configure providing the command line option:
'--with-mail-gid=apache'.



Thanks,

David


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] Group mismatch error

2004-05-19 Thread David Relson
On Wed, 19 May 2004 14:22:45 -0500
David Blomquist wrote:

 I am getting the following error message but my mail server (Postfix)
 is not set up as group apache. Anybody have an idea why I am getting
 this error message?
 
 
 This is the Postfix program at host 'my.mail.host.
 
 I'm sorry to have to inform you that the message returned
 below could not be delivered to one or more destinations.
 
 For further assistance, please send mail to postmaster
 
 If you do so, please include this problem report. You can
 delete your own text from the message returned below.
 
 The Postfix program
 
 [EMAIL PROTECTED]: Command died with status 2:
 /var/mailman/mail/mailman request mb_two. Command output: Group
 mismatch
 error. Mailman expected the mail wrapper script to be executed as
 one of
 the following groups: [mail, nobody, mailman], but the system's
 mail
 server
 executed the mail script as group: apache. Try tweaking the mail
 server
 to run the script as one of these groups: [mail, nobody, mailman],
 or
 re-run configure providing the command line option:
 '--with-mail-gid=apache'.

Sounds familiar!  Check the ownership of the aliases file, i.e.
/var/lib/mailman/data/aliases.  If recollection serves, postfix sets the
gid to match that file when it invokes mailman.

HTH,

David

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] Group mismatch error

2004-05-19 Thread David Blomquist
On Wed, 2004-05-19 at 15:29, David Relson wrote:
 On Wed, 19 May 2004 14:22:45 -0500
 David Blomquist wrote:
 
  I am getting the following error message but my mail server (Postfix)
  is not set up as group apache. Anybody have an idea why I am getting
  this error message?
  
  
  This is the Postfix program at host 'my.mail.host.
  
  I'm sorry to have to inform you that the message returned
  below could not be delivered to one or more destinations.
  
  For further assistance, please send mail to postmaster
  
  If you do so, please include this problem report. You can
  delete your own text from the message returned below.
  
  The Postfix program
  
  [EMAIL PROTECTED]: Command died with status 2:
  /var/mailman/mail/mailman request mb_two. Command output: Group
  mismatch
  error. Mailman expected the mail wrapper script to be executed as
  one of
  the following groups: [mail, nobody, mailman], but the system's
  mail
  server
  executed the mail script as group: apache. Try tweaking the mail
  server
  to run the script as one of these groups: [mail, nobody, mailman],
  or
  re-run configure providing the command line option:
  '--with-mail-gid=apache'.
 
 Sounds familiar!  Check the ownership of the aliases file, i.e.
 /var/lib/mailman/data/aliases.  If recollection serves, postfix sets the
 gid to match that file when it invokes mailman.
 

I checked the ownership of the alias file and it was apache.mailman. I
changed it to mailman.mailman (I assume this is correct) and the error
stopped. I am still wondering how it got to be apache.mailman in the
first place, though.

Many thanks!

David
 
 --
 Mailman-Users mailing list
 [EMAIL PROTECTED]
 http://mail.python.org/mailman/listinfo/mailman-users
 Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] Group mismatch error

2004-05-19 Thread David Relson
On Wed, 19 May 2004 16:51:57 -0500
David Blomquist wrote:

 On Wed, 2004-05-19 at 15:29, David Relson wrote:
  On Wed, 19 May 2004 14:22:45 -0500
  David Blomquist wrote:
  
   I am getting the following error message but my mail server
   (Postfix) is not set up as group apache. Anybody have an idea
   why I am getting this error message?
   
   
   This is the Postfix program at host 'my.mail.host.
   
   I'm sorry to have to inform you that the message returned
   below could not be delivered to one or more destinations.
   
   For further assistance, please send mail to postmaster
   
   If you do so, please include this problem report. You can
   delete your own text from the message returned below.
   
   The Postfix program
   
   [EMAIL PROTECTED]: Command died with status 2:
   /var/mailman/mail/mailman request mb_two. Command output:
   Group
   mismatch
   error. Mailman expected the mail wrapper script to be executed
   as
   one of
   the following groups: [mail, nobody, mailman], but the
   system's mail
   server
   executed the mail script as group: apache. Try tweaking the
   mail
   server
   to run the script as one of these groups: [mail, nobody,
   mailman],
   or
   re-run configure providing the command line option:
   '--with-mail-gid=apache'.
  
  Sounds familiar!  Check the ownership of the aliases file, i.e.
  /var/lib/mailman/data/aliases.  If recollection serves, postfix sets
  the gid to match that file when it invokes mailman.
  
 
 I checked the ownership of the alias file and it was apache.mailman. I
 changed it to mailman.mailman (I assume this is correct) and the error
 stopped. I am still wondering how it got to be apache.mailman in the
 first place, though.
 
 Many thanks!
 
 David

David,

Glad to help.  I'm still a mailman newbie.  I started climbing the
learning curve a month or so back and some of the lessons are still
fresh in my mind. Passing on what I've learned is the least I can do :-)

Regards,

David

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] group mismatch error

2004-02-05 Thread Sean Butler
At 02:43 PM 2/4/2004, Sean Butler wrote:


Here is the error I continue to get, no matter what I try:

Feb  4 14:37:10 east postfix/local[77072]: 0EC763E4B: 
to=[EMAIL PROTECTED], relay=local, delay=0, status=bounced (Command 
died with status 2: /usr/local/mailman/mail/mailman post church. Command 
output: Group mismatch error.  Mailman expected the mail wrapper script to 
be executed as group daemon, but the system's mail server executed the 
mail script as group mailman.  Try tweaking the mail server to run the 
script as group daemon, or re-run configure,  providing the command line 
option `--with-mail-gid=mailman'. )

Here is what I have done since I first started getting this:

1.  make deinstall; make --with-mail-gid=mailman; make instll

still same problem

2.  modified the /usr/local/mailman/mail/mailman file to look like
this:
-rwxrwsr-x  1 root  mailman  18504 Feb  3 16:16 mailman

It was group dameon before.  After the change, I still get the
same errors.
3.  Ran check_perms with a -f:

directory permissions must be 02775: 
/usr/local/mailman/lists/church (fixing)
   /usr/local/mailman/mail/mailman bad group (has: daemon, expected 
mailman) (fixing)

 Still the same error as above.

check_perms now shows no errros, yet I still can't send mail to 
[EMAIL PROTECTED]

Any ideas?
So I'm a bit further.  I figured out how to set the MAIL_GID variable with 
make finally.  (FreeBSD ports installation.)

And now, I've created a list and have sent mail to it, but nothing seems to 
happen.

Logs show:

Feb  5 10:57:28 east postfix/qmgr[91727]: 3F5FA3E53: 
from=[EMAIL PROTECTED], size=536, nrcpt=1 (queue active)
Feb  5 10:57:29 east postfix/local[12138]: 3F5FA3E53: 
to=[EMAIL PROTECTED], relay=local,
delay=1, status=sent (|/usr/local/mailman/mail/mailman post church)

What now???

Thanks,
Sean
and a couple of minutes later:

Feb  5 11:00:00 east /usr/sbin/cron[12171]: (mailman) CMD 
(/usr/local/bin/python -S /usr/local/mailman/cron/gate_news)



But then nothing ever get's sent to the list.

/Sean



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] group mismatch error

2004-02-05 Thread Sean Butler
At 11:10 AM 2/5/2004, Sean Butler wrote:
And now, I've created a list and have sent mail to it, but nothing seems 
to happen.

Logs show:

Feb  5 10:57:28 east postfix/qmgr[91727]: 3F5FA3E53: 
from=[EMAIL PROTECTED], size=536, nrcpt=1 (queue active)
Feb  5 10:57:29 east postfix/local[12138]: 3F5FA3E53: 
to=[EMAIL PROTECTED], relay=local,
delay=1, status=sent (|/usr/local/mailman/mail/mailman post church)

and a couple of minutes later:

Feb  5 11:00:00 east /usr/sbin/cron[12171]: (mailman) CMD 
(/usr/local/bin/python -S /usr/local/mailman/cron/gate_news)



But then nothing ever get's sent to the list.


Sorry, I had not finished a couple of things that are spelled out in the 
INSTALL doc.  Seems to be working now.

/Sean



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] group mismatch error

2004-02-04 Thread Sean Butler
Here is the error I continue to get, no matter what I try:

Feb  4 14:37:10 east postfix/local[77072]: 0EC763E4B: 
to=[EMAIL PROTECTED], relay=local, delay=0, status=bounced (Command 
died with status 2: /usr/local/mailman/mail/mailman post church. Command 
output: Group mismatch error.  Mailman expected the mail wrapper script to 
be executed as group daemon, but the system's mail server executed the 
mail script as group mailman.  Try tweaking the mail server to run the 
script as group daemon, or re-run configure,  providing the command line 
option `--with-mail-gid=mailman'. )

Here is what I have done since I first started getting this:

1.  make deinstall; make --with-mail-gid=mailman; make instll

	still same problem

2.  modified the /usr/local/mailman/mail/mailman file to look like
this:
	-rwxrwsr-x  1 root  mailman  18504 Feb  3 16:16 mailman

It was group dameon before.  After the change, I still get the
same errors.
3.  Ran check_perms with a -f:

	directory permissions must be 02775: /usr/local/mailman/lists/church (fixing)
   /usr/local/mailman/mail/mailman bad group (has: daemon, expected 
mailman) (fixing)

 Still the same error as above.

check_perms now shows no errros, yet I still can't send mail to 
[EMAIL PROTECTED]

Any ideas?

Thanks,
Sean
  



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] group mismatch error

2004-02-04 Thread Dan Phillips
On Feb 4, 2004, at 1:43 PM, Sean Butler wrote:

Here is the error I continue to get, no matter what I try:
...or re-run configure,  providing the command line option 
`--with-mail-gid=mailman'. )


Here is what I have done since I first started getting this:

1.  make deinstall; make --with-mail-gid=mailman; make instll



Not knowing what OS you're using, I don't know if this is an issue or 
not, but the expected fix is to run ./configure 
--with-mail-gid=mailman, not make. That worked for me.

DP

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] group mismatch error

2004-02-04 Thread Sean Butler
At 02:55 PM 2/4/2004, Dan Phillips wrote:


On Feb 4, 2004, at 1:43 PM, Sean Butler wrote:

Here is the error I continue to get, no matter what I try:
...or re-run configure,  providing the command line option 
`--with-mail-gid=mailman'. )


Here is what I have done since I first started getting this:

1.  make deinstall; make --with-mail-gid=mailman; make instll


Not knowing what OS you're using, I don't know if this is an issue or not, 
but the expected fix is to run ./configure --with-mail-gid=mailman, not 
make. That worked for me.
I'm running FreeBSD and used ports.  I can't figure out how to get 
./configure to work with ports though!  Any ideas?

/Sean



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] group mismatch error

2004-02-04 Thread Sean Butler
At 02:43 PM 2/4/2004, Sean Butler wrote:


Here is the error I continue to get, no matter what I try:

Feb  4 14:37:10 east postfix/local[77072]: 0EC763E4B: 
to=[EMAIL PROTECTED], relay=local, delay=0, status=bounced (Command 
died with status 2: /usr/local/mailman/mail/mailman post church. Command 
output: Group mismatch error.  Mailman expected the mail wrapper script to 
be executed as group daemon, but the system's mail server executed the 
mail script as group mailman.  Try tweaking the mail server to run the 
script as group daemon, or re-run configure,  providing the command line 
option `--with-mail-gid=mailman'. )

Here is what I have done since I first started getting this:

1.  make deinstall; make --with-mail-gid=mailman; make instll

still same problem

2.  modified the /usr/local/mailman/mail/mailman file to look like
this:
-rwxrwsr-x  1 root  mailman  18504 Feb  3 16:16 mailman

It was group dameon before.  After the change, I still get the
same errors.
3.  Ran check_perms with a -f:

directory permissions must be 02775: 
/usr/local/mailman/lists/church (fixing)
   /usr/local/mailman/mail/mailman bad group (has: daemon, expected 
mailman) (fixing)

 Still the same error as above.

check_perms now shows no errros, yet I still can't send mail to 
[EMAIL PROTECTED]
Well, I took a step backwards somehow... I ran make deinstall again, and 
then make with the -E option trying to set the with-mail-gid to mailman...

Well, I got through the full installation again, but now when I try to 
create a list, I get:

Error: Unknown virtual host: www.2sparrows.org

I'm pretty sure I had this at some point before and got around it, but I 
thought it was just updating mm_cfg.py with this line:

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['www.2sparrows.org','2sparrows.org']

Which I have.

So I'm not sure now.

/Sean



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Group Mismatch Error

2003-10-04 Thread ljacobs
Folks --

I recently moved some Mailman lists from a RH Linux server to a FreeBSD server, with 
Mailman 2.1.3 and Postfix 2.1.14. The lists that were on the FreeBSD system had been 
running fine with the configuration set as --with-mail-gid=mailman. The lists I 
moved to this FreeBSD server had been set with --with-mail-gid=nobody. Is there a 
simple way to change the nobody gid lists to be gid mailman?

Thanks. 

 

Sent via the WebMessaging system at mandala-designs.com


 
   
---
[This E-mail scanned for viruses by Declude Virus]


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Group Mismatch Error

2003-07-16 Thread Mensah K. Agbessitse
Hi All,

I hope thiscommand is use to test deliver:  /usr/local/mailman/mail/mailman post 
mailman

Whenever I run this command I get this errors in  /var/log/maillog:

1- Jul 16 12:30:49 list Mailman mail-wrapper: Group mismatch error.  Mailman expected 
the mail wrapper script to be executed as group mailman, but the system's mail 
server executed the mail script as group exim.  Try tweaking the mail server to run 
the script as group mailman, or re-run configure,  providing the command line option 
`--with-mail-gid=exim'. 


2- Jul 16 12:30:49 list Mailman mail-wrapper: Group mismatch error.  Mailman expected 
the mail wrapper script to be executed as group exim, but the system's mail server 
executed the mail script as group mailman.  Try tweaking the mail server to run the 
script as group exim, or re-run configure,  providing the command line option 
`--with-mail-gid=mailman'. 

My problem is that when I try rebuilding mailman with the command 
--with-mail-gid=mailman It  would ask me to re-run it with the command 
--with-mail-gid=exim and this loop continues. The OS is FreeBSD 4.5 on which I am 
running exim.

Thanks
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Group mismatch error

2003-03-04 Thread James Jones
I have 2.1.1 installed on a RH8 box with Sendmail (sendmail-8.12.8-1.80). I dealt with 
the smrsh issue by creating a symbolic link in the /etc/smrsh directory. However, I'm 
not getting this problem.

   - Transcript of session follows -
Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group mailman, but
the system's mail server executed the mail script as
group mail.  Try tweaking the mail server to run the
script as group mailman, or re-run configure,
providing the command line option `--with-mail-gid=mail'.
554 5.3.0 unknown mailer error 2

I tried recompiling it with `--with-mail-gid=mail' too but I still get the same error. 
Going though the stuff in the 'contrib' directory originally (for sendmail), I put a 
copy of mm-handler in /etc/mail and took the last section of mailman.mc and added it 
to sendmail.mc and regenerated a sendmail.cf file. Here is what I added (maybe I 
should have added more):

dnl
dnl Our Mailman-specific local mailer.
dnl
MAILER_DEFINITIONS

###   New Mailer specifications  ###


## Special flags! See
##  http://www.sendmail.org/~ca/email/doc8.10/op-sh-5.html#sh-5.4
## Note especially the absence of the m and n flags. THIS IS
## IMPORTANT: mm-handler assumes this behavior to avoid having to know
## too much about address parsing and other RFC-2822 mail details.

Mmailman,   P=/etc/mail/mm-handler, F=rDFMhlqSu, U=mailman:mail,
S=EnvFromL, R=EnvToL/HdrToL,
A=mm-handler $h $u



James Jones
Technology Coordinator
GSU College of Law
[EMAIL PROTECTED]


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org