[Mailman-Users] Thank you -- Help with migration

Lee, Davis H lee_d at aps.edu
Fri Apr 30 18:48:47 CEST 2010


Thank you! 

***********************************************************************
-----Original Message-----
From: Mark Sapiro [mailto:mark at msapiro.net] 
Sent: Wednesday, April 28, 2010 8:34 AM
To: Lee, Davis H; mailman-users at python.org
Subject: Re: [Mailman-Users] Thank you -- Help with migration



The files in the lists/listname/ directory need to be Mailman's group -
'list' in your case. The lists/listname directories need to be SETGID
- i.e. mode 2775, not 0775.

sudo /usr/lib/mailman/bin/check_perms -f

(if I have the path right) should fix all of this.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
***********************************************************************



Two more questions.

QUESTION ONE:  Checkperms doesn't change the group owner on the symlinks
under /var/lib/mailman (I get the message below no matter how many times
I run checkperms -f). 

 Should I chgrp -h on those symlinks?



core at lists:~$
core at lists:~$
core at lists:~$ sudo /usr/lib/mailman/bin/check_perms -f
/var/lib/mailman/locks bad group (has: root, expected list) (fixing)
/var/lib/mailman/Mailman bad group (has: root, expected list) (fixing)
/var/lib/mailman/cgi-bin bad group (has: root, expected list) (fixing)
/var/lib/mailman/bin bad group (has: root, expected list) (fixing)
/var/lib/mailman/templates bad group (has: root, expected list) (fixing)
/var/lib/mailman/icons bad group (has: root, expected list) (fixing)
/var/lib/mailman/logs bad group (has: root, expected list) (fixing)
/var/lib/mailman/mail bad group (has: root, expected list) (fixing)
/var/lib/mailman/cron bad group (has: root, expected list) (fixing)
/var/lib/mailman/scripts bad group (has: root, expected list) (fixing)


core at lists:/var/lib/mailman$ ls -al | more
total 36
drwxrwsr-x  8 root list 4096 2010-04-13 10:08 .
drwxr-xr-x 33 root root 4096 2010-04-13 10:08 ..
drwxrwsr-x  4 root list 4096 2005-03-20 16:17 archives
lrwxrwxrwx  1 root root   20 2010-04-13 10:08 bin ->
/usr/lib/mailman/bin
lrwxrwxrwx  1 root root   24 2010-04-13 10:08 cgi-bin ->
/usr/lib/cgi-bin/mailman
lrwxrwxrwx  1 root root   21 2010-04-13 10:08 cron ->
/usr/lib/mailman/cron
drwxrwsr-x  2 root list 4096 2010-04-26 11:35 data
lrwxrwxrwx  1 root root   25 2010-04-13 10:08 icons ->
/usr/share/images/mailman
drwxrwsr-x 40 root list 4096 2010-04-13 11:02 lists
lrwxrwxrwx  1 root root   17 2010-04-13 10:08 locks -> /var/lock/mailman
lrwxrwxrwx  1 root root   16 2010-04-13 10:08 logs -> /var/log/mailman
lrwxrwxrwx  1 root root   21 2010-04-13 10:08 mail ->
/usr/lib/mailman/mail
lrwxrwxrwx  1 root root   24 2010-04-13 10:08 Mailman ->
/usr/lib/mailman/Mailman
drwxrwsr-x 37 root list 4096 2010-04-13 10:08 messages
drwxrwsr-x 11 list list 4096 2010-04-13 10:27 qfiles
lrwxrwxrwx  1 root root   24 2010-04-13 10:08 scripts ->
/usr/lib/mailman/scripts
drwxrwsr-x  2 root list 4096 2009-06-01 05:35 spam
lrwxrwxrwx  1 root root   12 2010-04-13 10:08 templates -> /etc/mailman
-rw-r--r--  1 root list   11 2009-06-01 05:36 .version
core at lists:/var/lib/mailman$



core at lists:/var/lib/mailman$ ls -al /usr/lib/mailman/ | more
total 36
drwxr-xr-x  7 root list  4096 2010-04-13 10:08 .
drwxr-xr-x 60 root root 12288 2010-04-26 08:47 ..
drwxr-xr-x  2 root list  4096 2010-04-13 10:08 bin
drwxr-xr-x  2 root list  4096 2010-04-13 10:08 cron
drwxr-xr-x  2 root list  4096 2010-04-13 10:08 mail
drwxr-xr-x 11 root list  4096 2010-04-13 11:43 Mailman
drwxr-xr-x  2 root list  4096 2010-04-13 10:08 scripts


QUESTION TWO:

Postfix is not starting (see below).  

How can I fix this?

core at lists:/var/lib/mailman$
core at lists:/var/lib/mailman$
core at lists:/var/lib/mailman$ sudo tail /var/log/mail.log
Apr 30 10:39:03 lists postfix/master[1404]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 30 10:40:03 lists postfix/smtpd[1845]: fatal: open database
/var/lib/mailman/data/aliases.db: Invalid argument
Apr 30 10:40:04 lists postfix/master[1404]: warning: process
/usr/lib/postfix/smtpd pid 1845 exit status 1
Apr 30 10:40:04 lists postfix/master[1404]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 30 10:41:04 lists postfix/smtpd[1848]: fatal: open database
/var/lib/mailman/data/aliases.db: Invalid argument
Apr 30 10:41:05 lists postfix/master[1404]: warning: process
/usr/lib/postfix/smtpd pid 1848 exit status 1
Apr 30 10:41:05 lists postfix/master[1404]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 30 10:42:05 lists postfix/smtpd[1851]: fatal: open database
/var/lib/mailman/data/aliases.db: Invalid argument
Apr 30 10:42:06 lists postfix/master[1404]: warning: process
/usr/lib/postfix/smtpd pid 1851 exit status 1
Apr 30 10:42:06 lists postfix/master[1404]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling
core at lists:/var/lib/mailman$




Thank you,

Davis Lee

WAN Administrator
Albuquerque Public Schools
505 830 6870






More information about the Mailman-Users mailing list