virtual users with postfix

Andreas Meyer anmeyer at mailbox.org
Sat Aug 29 08:10:10 UTC 2015


Hello!

My passwd file looks like this:

info at nimmini.de:{CRAM-MD5}e33cbd144b372a9c919228923464c806b57e35df2d6d1484ceaabe7e3530cd58:5000:5000::/var/spool/vhosts/nimmini.de/info::userdb_mail=maildir:~/

When I login for the first time, I see this in the log:

Aug 29 09:52:57 imap(info at nimmini.de): Error: mkdir_parents(/var/lib/dovecot/db) failed: Permission denied
Aug 29 09:52:57 imap(info at nimmini.de): Error: acl: dict commit failed

Although the mailbox "info" is created with this content:

drwx------ 2 5000 5000 4096 29. Aug 09:52 cur
-rw------- 1 5000 5000    0 29. Aug 09:52 dovecot-acl-list
-rw------- 1 5000 5000  272 29. Aug 09:52 dovecot.index.log
-rw------- 1 5000 5000   72 29. Aug 09:52 dovecot.mailbox.log
-rw------- 1 5000 5000   51 29. Aug 09:52 dovecot-uidlist
-rw------- 1 5000 5000    8 29. Aug 09:52 dovecot-uidvalidity
-r--r--r-- 1 5000 5000    0 29. Aug 09:52 dovecot-uidvalidity.55e164dc
drwx------ 5 5000 5000 4096 29. Aug 09:52 .Drafts
drwx------ 2 5000 5000 4096 29. Aug 09:52 new
drwx------ 5 5000 5000 4096 29. Aug 09:52 .Sent
-rw------- 1 5000 5000   18 29. Aug 09:52 subscriptions
drwx------ 2 5000 5000 4096 29. Aug 09:52 tmp
drwx------ 5 5000 5000 4096 29. Aug 09:52 .Trash

/var/lib looks like this:
...
drwxr-xr-x  2 root     root    4096 29. Aug 00:28 dovecot
...

Should the folder dovecot be owned by the user dovecot?
What causes the error above?

Greetings

  Andreas


More information about the dovecot mailing list