[Mailman-Users] Group mismatch error

Barry Finkel b19141 at britaine.ctd.anl.gov
Tue Feb 13 20:11:01 CET 2007


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: BSFinkel at anl.gov
Argonne, IL   60439-4828             IBMMAIL:  I1004994



More information about the Mailman-Users mailing list