Re: [Dovecot] missing +r perm:L

2011-07-08 Thread Max Dunlap
Unknown user. I don't believe ubuntu operates like that and requires a word username. On Fri, 2011-07-08 at 16:27 -0500, Matt Rude wrote: > On 7/8/2011 3:47 PM, Max Dunlap wrote: > > Jul 8 15:46:08 mail-breakaway dovecot: IMAP(ilambert): > > open(/home/ilambert/Maildir/cur/msg.0umK:2,S) failed:

Re: [Dovecot] missing +r perm:L

2011-07-08 Thread Matt Rude
On 7/8/2011 3:47 PM, Max Dunlap wrote: > Jul 8 15:46:08 mail-breakaway dovecot: IMAP(ilambert): > open(/home/ilambert/Maildir/cur/msg.0umK:2,S) failed: Permission denied > (euid=1001(ilambert) egid=1001(ilambert) missing +r > perm: /home/ilambert/Maildir/cur/msg.0umK:2,S) when ran as root, what

Re: [Dovecot] missing +r perm:L

2011-07-08 Thread Max Dunlap
I turned on more debugging: Jul 8 15:45:18 mail-breakaway dovecot: imap-login: Login: user=, method=PLAIN, rip=173.11.172.145, lip=173.11.172.148, TLS Jul 8 15:45:18 mail-breakaway dovecot: IMAP(ilambert): Effective uid=1001, gid=1001, home=/home/ilambert Jul 8 15:45:18 mail-breakaway dovecot: I

Re: [Dovecot] missing +r perm:L

2011-07-08 Thread Max Dunlap
Ubuntu 10.04 On Fri, 2011-07-08 at 23:37 +0300, Timo Sirainen wrote: > SELinux? > > On 8.7.2011, at 23.32, Max Dunlap wrote: > > > ls -lan: > > -rw--- 1 1002 1002 1148 2011-07-05 16:11 msg.zSMF:2,S > > > > This file is owned by 1002 not 1 or 0 > > > > On Fri, 2011-07-08 at 10:12 +0200

Re: [Dovecot] missing +r perm:L

2011-07-08 Thread Timo Sirainen
SELinux? On 8.7.2011, at 23.32, Max Dunlap wrote: > ls -lan: > -rw--- 1 1002 1002 1148 2011-07-05 16:11 msg.zSMF:2,S > > This file is owned by 1002 not 1 or 0 > > On Fri, 2011-07-08 at 10:12 +0200, Thomas Leuxner wrote: >> On Thu, Jul 07, 2011 at 02:52:55PM -0500, Max Dunlap wrote: >>>

Re: [Dovecot] missing +r perm:L

2011-07-08 Thread Max Dunlap
ls -lan: -rw--- 1 1002 1002 1148 2011-07-05 16:11 msg.zSMF:2,S This file is owned by 1002 not 1 or 0 On Fri, 2011-07-08 at 10:12 +0200, Thomas Leuxner wrote: > On Thu, Jul 07, 2011 at 02:52:55PM -0500, Max Dunlap wrote: > > The permissions are: > > -rw--- 1 root root 7609 2011-07-05

Re: [Dovecot] missing +r perm:L

2011-07-08 Thread Thomas Leuxner
> Alright, I think I understand. By fixing the other side do you mean I > could add mail_uid=0 and mail_gid=0 in dovecot.conf? to match the > current mails permissions. We are migrating a server over and we ran > into this snag when transferring Maildirs over IMHO it appears perfectly right to hav

Re: [Dovecot] missing +r perm:L

2011-07-08 Thread Max Dunlap
Alright, I think I understand. By fixing the other side do you mean I could add mail_uid=0 and mail_gid=0 in dovecot.conf? to match the current mails permissions. We are migrating a server over and we ran into this snag when transferring Maildirs over On Fri, 2011-07-08 at 10:12 +0200, Thomas Leux

Re: [Dovecot] missing +r perm:L

2011-07-08 Thread Thomas Leuxner
On Fri, Jul 08, 2011 at 10:12:47AM +0200, Thomas Leuxner wrote: > You are accessing the maildir structure using UID 1002 but the directory > is owned by UID 1. Needs to be fixed on either side... Should read UID 0. Shame on me - more coffee required... signature.asc Description: Digital signatur

Re: [Dovecot] missing +r perm:L

2011-07-08 Thread Thomas Leuxner
On Thu, Jul 07, 2011 at 02:52:55PM -0500, Max Dunlap wrote: > The permissions are: > -rw--- 1 root root 7609 2011-07-05 > 16:06 /home/dlambert/Maildir/cur/msg.COmK:2,ST > What's so difficult about this? [ Log excerpt ] Jul 7 13:44:18 mail-breakaway dovecot: IMAP(dlambert): open(/home/dlamb