[Mailman-Users] mailman/postfix suite
Denis
den at altern.org
Thu Nov 7 16:36:28 CET 2002
Thanks,
I respond for the twoo messages in the text.
----
I snipped your message to include the only relevant portion.
-->>Yes, but i think the config (alias with postfix) is important to the
comprehension of the error.
What are
the permissions on that file, and the others in /var/lib/mailman/lists
?
-->-rw-rw---- 1 list list 2909 nov 7 13:33 config.db
-->And all the directory lists are like this one:
-->drwxrwsr-x 2 root list 4096 nov 7 13:33 testneo
The files should normally have permissions of at least 664 (775 for
directories), and owned by the mailman user and mailman group. Also,
try running the bin/check_perms utility to check your mailman
installation's permissions.
-->No problems found
If your install uses the default user and group (mailman/mailman) then
the group owner for the file should be mailman with read and write
rights. Indeed every file and directory under ~mailman/.. should be
setup as such.
-> I install it whit debian and more or less all the files are in root:list
Except in
/var/lib/mailman/bin root:root
/var/lib/mailman/Mailman root:root
/var/lib/mailman/scripts root:root
...
If that is not working, try setting up Others with read/write to file
and see if it works. I wouldn't leave it that way, but it would confirm
that you have a permissions problem and not something obscure!
-->>I change the config.db in 777 to try and i have this (i insert the
permissions of each files)
Subject: Cron <mailman at vacarme> /usr/bin/python -S
/var/lib/mailman/cron/qrunner
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/mailman>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=mailman>
Message-Id: <20021107152301.D33E3131A2 at xxx>
Date: Thu, 7 Nov 2002 16:23:01 +0100 (CET)
Logging error: <StampedLogger to '/var/lib/mailman/logs/error'>
-rw-rw-r-- 1 list list 80 nov 6 23:43 error
Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Logging/Logger.py", line 55, in __get_f
f = self.__fp = open(self.__filename, 'a+', 1)
-rw-r--r-- 1 root root 2467 aoû 25 20:57 Logger.py
IOError: [Errno 13] Permission denied: '/var/lib/mailman/logs/error'
Original log message:
[Errno 13] Permission denied: '/var/lib/mailman/logs/error'
Nov 07 16:23:01 2002 (7789) Delivery exception: [Errno 13] Permission
denied: '/var/lib/mailman/lists/testneo/next-digest'
-rw-rw-r-- 1 list list 886 nov 7 13:33 next-digest
Nov 07 16:23:01 2002 (7789) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Handlers/HandlerAPI.py", line 82, in
do_pipeline
func(mlist, msg, msgdata)
-rw-r--r-- 1 root root 6843 aoû 25 20:57 HandlerAPI.py
File "/usr/lib/mailman/Mailman/Handlers/ToDigest.py", line 52, in process
digestfp = open(digestfile, 'a+')
-rw-r--r-- 1 root root 14346 aoû 25 20:57 ToDigest.py
IOError: [Errno 13] Permission denied:
'/var/lib/mailman/lists/testneo/next-digest'
Nov 07 16:23:01 2002 (7789) Failed config.db write, retaining old state.
[Errno 13] Permission denied:
'/var/lib/mailman/lists/testneo/config.db.tmp.vacarme.7789'
Traceback (most recent call last):
File "/var/lib/mailman/cron/qrunner", line 283, in ?
kids = main(lock)
File "/var/lib/mailman/cron/qrunner", line 264, in main
mlist.Save()
File "/usr/lib/mailman/Mailman/MailList.py", line 858, in Save
self.__save(dict)
File "/usr/lib/mailman/Mailman/MailList.py", line 815, in __save
fp = open(fname_tmp, 'w')
IOError: [Errno 13] Permission denied:
'/var/lib/mailman/lists/testneo/config.db.tmp.vacarme.7789'
Thanks fot your help
Denis
More information about the Mailman-Users
mailing list