Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60842 - Mailman doesn't work with qmail unless you build the source manually with --with-mail-gid=nofiles
Summary: Mailman doesn't work with qmail unless you build the source manually with --w...
Status: RESOLVED DUPLICATE of bug 57189
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-18 20:42 UTC by Simon Haynes
Modified: 2009-12-15 02:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***