Userdb userdb_mail=, error Mailbox list driver maildir++: maildir_name not supported by this driver

Aki Tuomi aki.tuomi at open-xchange.com
Tue May 14 10:43:06 EEST 2019


mdbox:~/mdbox:INBOX=/ var/spool/mail/%u:CONTROL=~/mail/control:INDEX=/var/dovecot/%u/index:LAYOUT=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 at 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
>
>


More information about the dovecot mailing list