Initially there is mail_location

Now, I have

mail_driver = mdbox
mail_path = /data/mails/%{user | domain }/%{user | username }

I don't understand what is "mail_home" : What does it represent ?

On 2025-02-16 19:59, Timo Sirainen wrote:

On 16. Feb 2025, at 13.54, Joan Moreau <j...@grosjo.net> wrote:

Well,

- I need xapian enable in LMTP (how to index incoming emails otherwise ?)

It is enabled from the global mail_plugins. When using the mail_plugin { foo=yes } syntax it adds to the existing mail_plugins rather than replacing them.

- doing as below, I get : Feb 16 11:53:11 gjserver dovecot[2108456]: lmtp(j...@grosjo.net)<2108468><lGCQJqfRsWc0LCAA0thIag>: Error: duplicate db: User j...@grosjo.net doesn't have home dir set, disabling duplicate database

Where is your home directory supposed to be coming from? I don't see it in your config. Use either mail_home setting or return "home" extra field from userdb. This is the same as in v2.3, so I guess you dropped the home somehow when doing the conversion. Although this error isn't a fatal error, so maybe you had it before already?
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to