With this setting, all folders are empty, I guess understandable, because the mdbox has its own indexes stored locally with it. Does not explain though why inbox is empty.
[@ dovecot]# cat special-userdb test:x:8267:231:Account with special settings for dovecot:/home/popusers/test:/bin/false:userdb_mail=mdbox:~/mdbox:INBOX=/ var/spool/mail/%u:INDEX=/var/dovecot/%u/index With this setting (withouth the INDEX set), mdbox folders are accessible and not empty, but I get of course the error on the index of mbox [@ dovecot]# cat special-userdb test:x:8267:231:Account with special settings for dovecot:/home/popusers/test:/bin/false:userdb_mail=mdbox:~/mdbox:INBOX=/ var/spool/mail/%u May 14 12:40:41 mail04 dovecot: imap(test): Debug: INBOX: Mailbox opened because: SELECT May 14 12:40:41 mail04 dovecot: imap(test): Error: open() failed with file /var/spool/mail/test/dovecot.index.log: Not a directory May 14 12:40:41 mail04 dovecot: imap(test): Debug: INBOX/test2: Mailbox opened because: SELECT Is there a possibility of specifying only a index location for the inbox? It looks like if you add INDEX it is being used for everything. -----Original Message----- From: Aki Tuomi Sent: dinsdag 14 mei 2019 9:43 To: Marc Roos; dovecot Subject: Re: Userdb userdb_mail=, error Mailbox list driver maildir++: maildir_name not supported by this driver mdbox:~/mdbox:INBOX=/ var/spool/mail/%u:CONTROL=~/mail/control:INDEX=/var/dovecot/%u/index:LAY OUT=maildir++ You can't use LAYOUT=maildir++ here. Aki On 14.5.2019 10.38, Marc Roos wrote: > Yes, I have still inbox mbox format because I have sendmail delivering > there. I trying to migrate/convert step by step, with least possible > impact for users. > > > > -----Original Message----- > From: Aki Tuomi > Sent: dinsdag 14 mei 2019 6:19 > To: Marc Roos; Marc Roos via dovecot > Subject: Re: Userdb userdb_mail=, error Mailbox list driver maildir++: > maildir_name not supported by this driver > > >> On 14 May 2019 00:05 Marc Roos via dovecot <dovecot@dovecot.org> > wrote: >> >> I have this default configuration [0], when use the userdb_mail to >> point to the mdbox location, the inbox subfolders show differently in >> a firebird client. So I decided to copy the whole default >> mail_location into the userdb_mail configuration [2]. But then I get > errors [3]. >> Should I change the namespace configuration here, how? My default >> namespaces are inbox and 4archives >> >> [0] >> [@ ]# doveconf | grep mail_loc >> mail_location = >> mbox:~/mail:INBOX=/var/spool/mail/%u:CONTROL=~/mail/control:INDEX=/var >> /d >> ovecot/%u/index:LAYOUT=maildir++ >> >> [1] >> [@dovecot]# cat special-userdb >> test:x:8267:231:Account with special settings for >> dovecot:/home/popusers/test:/bin/false:userdb_mail=mdbox:~/mdbox >> >> [2] >> [@dovecot]# cat special-userdb >> test:x:8267:231:Account with special settings for >> dovecot:/home/popusers/test:/bin/false:userdb_mail=mdbox:~/mdbox:INBOX >> =/ >> var/spool/mail/%u:CONTROL=~/mail/control:INDEX=/var/dovecot/%u/index:L >> AY >> OUT=maildir++ >> > Are you intentionally mixing mbox and mdbox? You see that [0] has mbox, > and [2] has mdbox. > > Aki > >