[geeks] Building a local IMAP server on OpenIndiana

Google md.benson at gmail.com
Mon Nov 25 01:02:40 CST 2013


On 24 Nov 2013, at 21:02, Jonathan Patschke <jp at celestrion.net> wrote:

> On Sun, 24 Nov 2013, Google wrote:
>
>> However, I cantt connect to it, it is allowing the connection, but
spewing
>> on permissions:
>>
>> Nov 24 17:34:27 proliant-1 dovecot: [ID 583609 mail.error] imap(mark):
Error:
>> rename(/mpool/mail/mark/dovecot.index.log.newlock,
>> /mpool/mail/mark/dovecot.index.log) failed: Permission denied
>
> Looks like /mpool/mail and all its subdirectories need to in whatever
> group dovecot runs as.  I use the 'mail' group on my system.

This is what the directory currently looks like:

mark at proliant-1:~$ ls -la /mpool/mail
total 6
drwxrwxrwx+ 3 root root  3 2013-11-24 17:17 .
drwxr-xr-x+ 5 root root  5 2013-11-24 13:50 ..
drwxrwxrwx+ 5 mark staff 9 2013-11-24 22:20 mark

mark at proliant-1:~$ ls -la /mpool/mail/mark/
total 14
drwxrwxrwx+ 5 mark staff  9 2013-11-24 22:20 .
drwxrwxrwx+ 3 root root   3 2013-11-24 17:17 ..
drwxrwxrwx+ 2 mark staff  2 2013-11-24 17:17 cur
-rwxrwxrwx+ 1 mark staff 51 2013-11-24 22:20 dovecot-uidlist.tmp
-rwxrwxrwx+ 1 mark staff  8 2013-11-24 22:20 dovecot-uidvalidity
-rwxrwxrwx+ 1 mark staff  0 2013-11-24 17:17 dovecot-uidvalidity.529234ad
-rwxrwxrwx+ 1 mark staff 40 2013-11-24 22:20 dovecot.index.log.newlock
drwxrwxrwx+ 2 mark staff  2 2013-11-24 17:17 new
drwxrwxrwx+ 2 mark staff  3 2013-11-24 17:21 tmp

Given dovecot created /mpool/mail/mark/ then Id have assumed it did it right,
but maybe not.

--
Mark Benson

My Blog:
<http://markbenson.org/blog>
Follow me on Twitter:
http://twitter.com/mdbenson

"Never send a human to do a machine's job..."


More information about the geeks mailing list