> On 11/05/2026 14:52 EEST Lafiel Elentari via dovecot <[email protected]> 
> wrote:
> 
>  
> Hello.
> 
> After upgrading to version 2.4, index files were moved to the user's
> home directory, and the `mail_path = ~/mail` parameter was no longer
> taken into account when processing index files.
> 
> In addition, indexes for the `INBOX` folder no longer respect the
> `mail_index_path=` parameter and are stored in the
> `./INBOX/dovecot.index.*` folder, although they should be stored in the
> same folder where the messages are stored, given the current
> configuration.
> 
> My configuration:
> ```
> mail_home =
> mail_inbox_path =
> mail_index_path =
> mail_path = ~/mail
> userdb declarative {
>   passwd_file_path = /var/data/mail/dovecot/passdb
>   driver = passwd-file
>   fields {
>     home = /var/data/mail/vmail/%{user | domain}/%{user | username}
>     mail_index_path = /var/data/mail/vmail/%{user | domain }/%{user | 
> username}
>   }
> }
> ```
>

Hi!

Try adding userdb_ to mail_index_path. Home is special.

Keys which begin with a userdb_ prefix are used for userdb, others are used for 
passdb. 
https://doc.dovecot.org/2.4.3/core/config/auth/databases/passwd_file.html#configuration

Aki

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to