[Mailman-Users] mailman stopped working after upgrade

Daevid Vincent daevid at daevid.com
Mon Sep 12 21:34:49 CEST 2005


Mailman was working, then a (Gentoo) 'emerge -Davu system' update happened
the other day and looks like it broke mailman.

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

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'._
Sep 12 12:16:19 [exim] 2005-09-12 12:16:19 1EEtms-00021M-60 **
|/usr/local/mailman/mail/mailman post rbc <rbc at daevid.com> R=system_aliases
T=address_pipe: Child process of address_pipe transport returned 2 from
command: /usr/local/mailman/mail/mailman

daevid bin # locate mail_wrapper
daevid bin # locate as_group

daevid portage-logs # ll /usr/local/mailman/mail/mailman
-rwxr-sr-x  1 mailman mailman 7768 Sep  7 11:34
/usr/local/mailman/mail/mailman

daevid bin # ll            
total 372
drwxrwsr-x   2 mailman mailman  4096 Sep  7 11:34 .
drwxrwsr-x  20 mailman mailman  4096 Apr  4 13:52 ..
-rwxr-xr-x   1 mailman mailman  7612 Sep  7 11:34 add_members
-rwxr-xr-x   1 mailman mailman  5406 Sep  7 11:34 arch
-rw-r--r--   1 mailman mailman  3748 Sep  7 11:34 auto
-rwxr-xr-x   1 mailman mailman  2559 Sep  7 11:34 b4b5-archfix
-rwxr-xr-x   1 mailman mailman  6130 Sep  7 11:34 change_pw
-rwxr-xr-x   1 mailman mailman  4264 Sep  7 11:34 check_db
-rwxr-xr-x   1 mailman mailman 12223 Sep  7 11:34 check_perms
-rwxr-xr-x   1 mailman mailman  6632 Sep  7 11:34 check_perms_grsecurity.py
-rwxr-xr-x   1 mailman mailman  5492 Sep  7 11:34 cleanarch
-rwxr-xr-x   1 mailman mailman  6409 Sep  7 11:34 clone_member
-rwxr-xr-x   1 mailman mailman 12326 Sep  7 11:34 config_list
-rwxr-xr-x   1 mailman mailman  1499 Sep  7 11:34 convert.py
-rwxr-xr-x   1 mailman mailman  3238 Sep  7 11:34 discard
-rwxr-xr-x   1 mailman mailman  4399 Sep  7 11:34 dumpdb
-rwxr-xr-x   1 mailman mailman  4951 Sep  7 11:34 find_member
-rwxr-xr-x   1 mailman mailman  2633 Sep  7 11:34 fix_url.py
-rw-r--r--   1 mailman mailman  2497 Apr  4 13:52 fix_url.pyc
-rwxr-xr-x   1 mailman mailman  3097 Sep  7 11:34 genaliases
-rwxr-xr-x   1 mailman mailman  2815 Sep  7 11:34 inject
-rwxr-xr-x   1 mailman mailman  2561 Sep  7 11:34 list_admins
-rwxr-xr-x   1 mailman mailman  3329 Sep  7 11:34 list_lists
-rwxr-xr-x   1 mailman mailman  8316 Sep  7 11:34 list_members
-rwxr-xr-x   1 mailman mailman  3165 Sep  7 11:34 list_owners
-rwxr-xr-x   1 mailman mailman 21124 Sep  7 11:34 mailmanctl
-rw-r--r--   1 mailman mailman 18995 Sep  7 11:34 majordomo2mailman.pl
-rw-r--r--   1 mailman mailman  5951 Sep  7 11:34 mm-handler
-rw-r--r--   1 mailman mailman  7048 Sep  7 11:34 mm-handler.readme
-rwxr-xr-x   1 mailman mailman  2989 Sep  7 11:34 mmsitepass
-rwxr-xr-x   1 mailman mailman  5530 Sep  7 11:34 msgfmt.py
-rwxr-xr-x   1 mailman mailman  7127 Sep  7 11:34 newlist
-rw-r--r--   1 mailman mailman  2412 Sep  7 11:34 paths.py
-rw-r--r--   1 root    mailman   652 Sep  7 11:34 paths.pyc
-rwxr-xr-x   1 mailman mailman  4076 Sep  7 11:34 qmail-to-mailman.py
-rwxr-xr-x   1 mailman mailman  9196 Sep  7 11:34 qrunner
-rwxr-xr-x   1 mailman mailman  2957 Sep  7 11:34 rb-archfix
-rwxr-xr-x   1 mailman mailman  4699 Sep  7 11:34 remove_members
-rwxr-xr-x   1 mailman mailman  4256 Sep  7 11:34 rmlist
-rwxr-xr-x   1 mailman mailman  3463 Sep  7 11:34 rotatelogs.py
-rwxr-xr-x   1 mailman mailman  1346 Sep  7 11:34 show_qfiles
-rwxr-xr-x   1 mailman mailman  9664 Sep  7 11:34 sync_members
-rwxr-xr-x   1 mailman mailman 11999 Sep  7 11:34 transcheck
-rwxr-xr-x   1 mailman mailman  2286 Sep  7 11:34 unshunt
-rwxr-xr-x   1 mailman mailman 29648 Sep  7 11:34 update
-rwxr-xr-x   1 mailman mailman   963 Sep  7 11:34 version
-rwxr-xr-x   1 mailman mailman  8382 Sep  7 11:34 withlist

daevid portage-logs # more 3486-mailman-2.1.5-r4.log
No updates are necessary.
 * Running `/usr/local/mailman/bin/check_perms -f` *
/usr/local/mailman/cgi-bin/admindb must be set-gid (fixing)
/usr/local/mailman/cgi-bin/admin must be set-gid (fixing)
/usr/local/mailman/cgi-bin/confirm must be set-gid (fixing)
/usr/local/mailman/cgi-bin/create must be set-gid (fixing)
/usr/local/mailman/cgi-bin/edithtml must be set-gid (fixing)
/usr/local/mailman/cgi-bin/listinfo must be set-gid (fixing)
/usr/local/mailman/cgi-bin/options must be set-gid (fixing)
/usr/local/mailman/cgi-bin/private must be set-gid (fixing)
/usr/local/mailman/cgi-bin/rmlist must be set-gid (fixing)
/usr/local/mailman/cgi-bin/roster must be set-gid (fixing)
/usr/local/mailman/cgi-bin/subscribe must be set-gid (fixing)
/usr/local/mailman/mail/mailman must be set-gid (fixing)
Problems found: 12
Re-run as mailman (or root) with -f flag to fix
 * 
 * Please read /usr/share/doc/mailman-2.1.5-r4/README.gentoo.gz for
additional
 * Setup information, mailman will NOT run unless you follow
 * those instructions!
 *

daevid portage-logs # /usr/local/mailman/bin/check_perms -f
No problems found

I read the README, but I've already been using mailman, it doesn't mention
anything about upgrading. 

daevid bin # ./check_db
Nothing to do.




More information about the Mailman-Users mailing list