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