Hello.

Thanks! This variant working:
```
  userdb__mail_index_path = /var/data/mail/vmail/%{user | domain }/%{user | 
username}
```

For other parameters, do I also need to add `userdb_`? Example:
```
userdb declarative {
  userdb_driver = passwd-file
  userdb_passwd_file_path = /var/data/mail/dovecot/passdb
  userdb_fields {
    userdb_gid = 5000
    userdb_home = /var/data/mail/vmail/%{user | domain}/%{user | username}
    userdb_uid = 5000
    userdb_mail_index_path = /var/data/mail/vmail/%{user | domain }/%{user | 
username}
  }
}
```

How to move location of the `.dovecot.lda-dupes` files to the `mail`
subdirectory?


You wrote on 2026.05.11, at 14:58:48:
> 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


-- 
Best regards,
Lafiel Elentari
mailto:[email protected]

Attachment: pgpdIcTYTet8M.pgp
Description: PGP signature

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

Reply via email to