BTW, someone on the mailman list said, "Yes, it has the flags, but what is
the value of the ${MAILGID} parameter?  The error message you received says
it's 'mailman' and
should be 'mail'." 

And looking at the log, he seems to be correct:
Sep 12 12:16:19 [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 "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'._

But the .ebuild script sets it to gid 280, shouldn't it be 8? why is that?
Is that the problem? How can I fix that. Re-emerging doesn't let me change
those .ebuild values. MD5 errors and such.

APACHEGID="81"
MAILGID="280"

src_compile() {
        econf \
                --prefix=${INSTALLDIR} \
                --with-mail-gid=${MAILGID} \
                --with-cgi-gid=${APACHEGID} \
        || die "configure failed"

        make || die "make failed"
}  

# ll /etc/exim/exim.conf
-rw-r--r--  1 root root 29452 Apr 29 13:54 /etc/exim/exim.conf

  # User and group for Mailman, should match your --with-mail-gid
  # switch to Mailman's configure script.
  # Value is normally "mailman"
  MM_UID=mailman
  MM_GID=mailman

So, these match what the comment says there, and what the .ebuild is doing.

I'm so confused. *sigh*

> -----Original Message-----
> From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 12, 2005 6:22 PM
> To: gentoo-user@lists.gentoo.org
> Subject: RE: [gentoo-user] mailman stopped working after upgrade
> 
> Thank you for taking the time to reply Nick. 
> 
> > Odd that you took this long to upgrade mailman as mine was 
> > upgraded to 2.1.5-r4 in February ?
> 
> I run a fairly stable x86 server and try not to 'fix' what 
> ain't broke. I
> dunno. I usually run 'emerge -Davu system' and 'world' every 
> couple of days
> and see if anything stands out. I also try not to update 
> things right a way
> so as to let the -rN versions stabalize. There is almost 
> always a -r1 right
> away ;-)
> 
> There was a GLSA 3 months back on June 9th.
> http://www.gentoo.org/security/en/glsa/glsa-200406-04.xml
> 
> > what MTA are you running? 
> 
> [ebuild   R   ] mail-mta/exim-4.50-r1  +X -dnsdb -exiscan 
> -exiscan-acl +ipv6
> -ldap -lmtp -mailwrapper -mbox +mysql -nis +pam +perl 
> -postgres -sasl +ssl
> -syslog +tcpd 1,401 kB 
> 
> But I don't believe that's changed since:
> 
> daevid portage-logs # ll *exim*
> -rw-r--r--  1 root root 23369 Jul  7 00:57 3190-exim-4.50-r1.log
> -rw-r--r--  1 root root   242 Jul  7 00:57 3191-exim-4.50-r1.log
> 
> > What is the result of running?
> 
> > id mail
> uid=8(mail) gid=12(mail) groups=12(mail),408(shadow)
> 
> > id mailman
> uid=280(mailman) gid=280(mailman) groups=280(mailman),16(cron)
> 
> > ls -l /usr/local/mailman/mail/mailman
> -rwxr-sr-x  1 mailman mailman 7768 Sep 12 15:47
> /usr/local/mailman/mail/mailman
> 
> I tried to emerge mailman again today just incase that 
> helped. Same results.
> 
> daevid portage-logs # ll *mailman*
> -rw-r--r--  1 root root 62662 Sep  7 11:34 3485-mailman-2.1.5-r4.log
> -rw-r--r--  1 root root  1105 Sep  7 11:34 3486-mailman-2.1.5-r4.log
> -rw-r--r--  1 root root 62663 Sep 12 15:47 3528-mailman-2.1.5-r4.log
> -rw-r--r--  1 root root  1105 Sep 12 15:48 3529-mailman-2.1.5-r4.log
> 
> >From the .log file:
> 
> checking for --with-permcheck... yes
> checking for --with-username... mailman
> checking for user name "mailman"... okay
> checking for --with-groupname... mailman
> checking for group name "mailman"... okay
> checking permissions on /usr/local/mailman... okay
> checking for mail wrapper group; i.e. --with-mail-gid... mailman
> checking for CGI wrapper group; i.e. --with-cgi-gid... apache
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

-- 
gentoo-user@gentoo.org mailing list

Reply via email to