Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

After migrating domains from one plesk server onto another, I got several of those mails every day: (the target mailbox does not exist, so I get those as undeliverable mail bounces)

Return-Path: <anonymous@lvpsxxx-xx-xx-xx.dedicated.hosteurope.de>
Received: (qmail 26460 invoked by uid 38); 26 May 2012 12:00:02 +0200
Date: 26 May 2012 12:00:02 +0200
Message-ID: <20120526100002.xyzxx.qmail@lvpsxxx-xx-xx-xx.dedicated.hosteurope.de>
From: root@lvpsxxx-xx-xx-xx.dedicated.hosteurope.de (Cron Daemon)
To: list@lvpsxxx-xx-xx-xx.dedicated.hosteurope.de
Subject: Cron <list@lvpsxxx-xx-xx-xx> [ -x /usr/lib/mailman/cron/senddigests ] && /usr/lib/mailman/cron/senddigests
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/list>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=list>

List: xyzxyz: problem processing /var/lib/mailman/lists/xyzxyz/digest.mbox:
[Errno 13] Permission denied: '/var/lib/mailman/archives/private/xyzxyz'

I tried to fix the permissions myself, but the problem still exists.

share|improve this question

4 Answers 4

up vote 4 down vote accepted

After consulting the support team, I now have the solution for this problem: /usr/lib/mailman/bin/check_perms -f does all the permission magic in the mailman directories. Maybe this helps someone else with the same problem.

share|improve this answer

I want to add that on my machine,

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

didn't fix everything. When I ran it repeatedly (as root), it kept complaining abut 10 issues (folders/files in /usr/lib/mailman that weren't owned by the user and group list). The following command (ran in /usr/lib/mailman (!)) fixed everything:

chown -hR list:list ./*
share|improve this answer

this helped me alot. My setup is currently plesk, qmail and mailman. i found that the path for chmod should be

/var/lib/mailman

more useful. doing a regular chown -hR list:list ./* there ist not too bad. there does

/var/lib/mailman/bin/check_perms -f

even work. for me.

also

chown -R popuser:list /var/list/

did a good job for me.

/var/qmail/bin/qmail-qstat

and

/var/qmail/bin/qmail-qread

were also good friends in helping. also looking inside of

/var/qmail/queue

http://www.simonmetzger.de/?p=124
http://www.huschi.net/archiv/plesk-qmail-probleme-mit-mailman.html
http://douglasward.net/2010/07/29/required-mailman%C2%A0permissions/
http://recoveringphysicist.com/22/how-to-move-a-mailman-mailing-list-between-domains-or-servers
http://www.gnu.org/software/mailman/site.html
http://techshihab.wordpress.com/2012/05/11/logs-location-for-plesk-linux-servers/

Files to watch:

/usr/local/psa/var/log/maillog
/var/log/mailman/smtp-failure
/var/log/mailman/error

Tools used

/var/mailman/bin/unshunt
/var/mailman/bin/arch

And always to make sure all List Options (max_size, advertisement, ... are set correctly) I'm not sure if this is any help to someone, but enjoy.

share|improve this answer

my rep is too low to +1 your answer L3viathan but thank you! I had exactly the same problem running /usr/lib/mailman/bin/check_perms -f, even as root:

# /usr/lib/mailman/bin/check_perms -f
/var/lib/mailman/Mailman bad group (has: root, expected list) (fixing)
/var/lib/mailman/logs bad group (has: root, expected list) (fixing)
/var/lib/mailman/bin bad group (has: root, expected list) (fixing)
/var/lib/mailman/cgi-bin bad group (has: root, expected list) (fixing)
/var/lib/mailman/icons 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)
/var/lib/mailman/templates bad group (has: root, expected list) (fixing)
/var/lib/mailman/locks bad group (has: root, expected list) (fixing)
Problems found: 10
Re-run as list (or root) with -f flag to fix

changing the owner manually fixed the permissions problem. only difference was my permissions problems were in path /var/lib/mailman:

# cd /var/lib/mailman
# chown -hR list:list ./*
# /usr/lib/mailman/bin/check_perms -f
No problems found
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.