[Dovecot] error when using dovecot-lda as non root (vmail) user

Andreas Helmcke news1204.10.weezy at spamgourmet.com
Thu Apr 19 19:09:52 EEST 2012


Am 19.04.2012 17:53, schrieb Timo Sirainen:
> On 19.4.2012, at 17.56, Andreas Helmcke wrote:
> 
>> namespace inbox {
>>  location = maildir:/home/mail/user/%u
>>  ....
> 
> Move the location from the above namespace to global:
> 
> mail_location = maildir:/home/mail/user/%u

Actually it /had/ been there and I moved it to inbox while trying to find
the problem.

So, change reverted (excerpt from doveconf -n):

mail_location = maildir:/home/mail/user/%u

namespace inbox {
  inbox = yes
  location =
  prefix = INBOX/
  separator = /
  type = private
}



Now dovecot-lda is complaining about duplicate namespaces (still only
when run as vmail; run it as root and it is working):

Apr 19 17:58:07 elablnmail02 dovecot: lda: Debug: auth input: ahelmcke
Apr 19 17:58:07 elablnmail02 dovecot: lda(ahelmcke): Debug: Effective
uid=494, gid=491, home=/home/mail/user/ahelmcke
Apr 19 17:58:07 elablnmail02 dovecot: lda(ahelmcke): Debug: Namespace
inbox: type=private, prefix=INBOX/, sep=/, inbox=yes, hidden=no,
list=yes, subscriptions=yes location=maildir:/home/mail/user/ahelmcke
Apr 19 17:58:07 elablnmail02 dovecot: lda(ahelmcke): Debug: maildir++:
root=/home/mail/user/ahelmcke, index=, control=,
inbox=/home/mail/user/ahelmcke, alt=
Apr 19 17:58:07 elablnmail02 dovecot: lda(ahelmcke): Debug: Namespace
dummy: type=private, prefix=, sep=/, inbox=no, hidden=yes, list=no,
subscriptions=yes location=maildir:/home/mail/user/ahelmcke/public/
Apr 19 17:58:07 elablnmail02 dovecot: lda(ahelmcke): Debug: maildir++:
root=/home/mail/user/ahelmcke/public, index=, control=, inbox=, alt=
Apr 19 17:58:07 elablnmail02 dovecot: lda(ahelmcke): Debug: Namespace :
type=private, prefix=, sep=, inbox=no, hidden=no, list=yes,
subscriptions=yes location=maildir:/home/mail/user/ahelmcke
Apr 19 17:58:07 elablnmail02 dovecot: lda(ahelmcke): Debug: maildir++:
root=/home/mail/user/ahelmcke, index=, control=, inbox=, alt=
Apr 19 17:58:07 elablnmail02 dovecot: lda(ahelmcke): Error: user
ahelmcke: Initialization failed: namespace configuration error: Duplicate
namespace prefix: ""
Apr 19 17:58:07 elablnmail02 dovecot: lda(ahelmcke): Fatal: Invalid user
settings. Refer to server log for more information.

Greetings
   Andreas




More information about the dovecot mailing list