Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 60842

Summary: Mailman doesn't work with qmail unless you build the source manually with --with-mail-gid=nofiles
Product: Gentoo Linux Reporter: Simon Haynes <gentoobugs>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED DUPLICATE    
Severity: major CC: mmokrejs
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Simon Haynes 2004-08-18 20:42:00 UTC
If you emerge mailman, it will refuse to accept mail for the list.  After 4 to 7 days all mails bounce to the sender with the following error:

 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 "nofiles".  Try tweaking the mail server to run the
  script as group "mailman", or re-run configure, 
  providing the command line option `--with-mail-gid=nofiles'.
  I'm not going to try again; this message has been in the queue too long.
  

Reproducible: Always
Steps to Reproduce:
1. Emerge Mailman
2. Set up a mailing list
3. Send a message to the list. It will bounce.

Actual Results:  
After 4 to 7 days all mails bounce to the sender with the following error:

 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 "nofiles".  Try tweaking the mail server to run the
  script as group "mailman", or re-run configure, 
  providing the command line option `--with-mail-gid=nofiles'.
  I'm not going to try again; this message has been in the queue too long.
  

Expected Results:  
Accepted the post and sent it to subscribed users.

I think the fix is to add --with-mail-gid=nofiles to the ebuild.  Right now it
has  econf \
        --prefix=${INSTALLDIR} \
        --with-mail-gid=${MAILGID} \
        --with-cgi-gid=${APACHEGID}

Where does MAILGID come from? If it's a setting, can that setting be explained
in the Mailman ebuild so others aren't trapped like this?
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-08-19 22:40:47 UTC
How about read:
/usr/share/doc/*/README.gentoo.gz
less /usr/share/doc/*/README.QMAIL.gz
http://www.kroon.co.za/howto.php?howto=qmail_mailman

*** This bug has been marked as a duplicate of 57189 ***