Apparent Maildir permission issue
Patrick Ben Koetter
p at sys4.de
Tue Jan 24 22:22:27 UTC 2017
* Mark Foley <mfoley at ohprs.org>:
> On Mon, 16 Jan 2017 17:51:48 -0500 Bill Shirley <bill at KnoxvilleChristian.org> wrote:
> >
> > I've gotten errors like this when it was actually a selinux denial. If you're running
> > selinux, check those logs too.
> >
>
> OK, this is getting serious -- mail not getting delivered.
>
> No, I am not running selinux. Here is the error I get in the maillog:
>
> Jan 24 16:42:49 mail dovecot: imap(mark): Error: stat(/home/HPRS/mark/Maildir/tmp) failed: Permission denied (euid=3000026(HPRS\mark) egid=100(users) missing +x perm: /home/HPRS/mark/Maildir, conflicting dir uid=10001(HPRS\mark))
>
> Permission are:
>
> $ ls -l /home/HPRS/mark/Maildir/
> total 200
> drwx------ 2 HPRS\mark domusers 45056 Dec 19 08:13 cur/
> -rw------- 1 HPRS\mark domusers 131 Jul 1 2016 dovecot-keywords
> -rw------- 1 HPRS\mark domusers 5249 Dec 7 23:06 dovecot-uidlist
> -rw------- 1 HPRS\mark domusers 8 Jul 7 2016 dovecot-uidvalidity
> -r--r--r-- 1 HPRS\mark domusers 0 Jan 16 2015 dovecot-uidvalidity.54b9def3
> -rw------- 1 HPRS\mark domusers 4080 Nov 27 23:28 dovecot.index
> -rw------- 1 HPRS\mark domusers 88612 Dec 7 23:07 dovecot.index.cache
> -rw------- 1 HPRS\mark domusers 8748 Dec 7 23:07 dovecot.index.log
> -rw------- 1 HPRS\mark domusers 2016 Jul 7 2016 dovecot.mailbox.log
> drwx------ 2 HPRS\mark domusers 12288 Jan 13 12:10 new/
> -rw------- 1 HPRS\mark domusers 137 Jul 7 2016 subscriptions
> drwx------ 2 HPRS\mark domusers 12288 Jan 13 12:10 tmp/
>
> Permission on the Maildir folder for another user who is NOT having this problem:
Move /home/HPRS/mark/ to /home/HPRS/mark_old/
Deliver mail to mark
Let dovecot create the new /home/HPRS/mark/
Import mail from /home/HPRS/mark_old to /home/HPRS/mark/
p at rick
--
[*] sys4 AG
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
More information about the dovecot
mailing list