20 Nov
2025
20 Nov
'25
8:27 p.m.
Thats what I wrote too? Although in general we strongly recommend to use something like
mail_home = /var/maildir/%{user} mail_path = ~/mail
to avoid problems.
Aki
On 20/11/2025 20:13 EET Marek Gresko via dovecot
<[1]dovecot@dovecot.org> wrote:
Hello Aki,
sorry for doubling the question, maybe you missed it in the other text.
The chatgpt told me to use mail_home = /var/maildir/%{user}, not
mail_home = /var/maildir/. Does it make some difference? Or should I use
your version? From my point of view your version seems better, but I am
unsure of mail_home purpose.
Thanks
Marek
Odoslane pomocou bezpecneho emailu Proton Mail.
stvrtok 20. novembra 2025, 15:39, Marek Gresko via dovecot
<[2]dovecot@dovecot.org> napisal/a:
Hello Aki,
thanks. I already found that options. I was trying also chatgtp to
help me and it offered me:
mail_home = /var/maildir/%{user}
mail_driver = maildir
mail_path = /var/maildir/%{user}
mail_index_path = /var/dovecot-index/%{user}
mail_control_path = /var/dovecot-control/%{user}
The difference is the %{user} in mail_home. Should it be with or
without it?
Thanks
Marek
Odoslane pomocou bezpecneho emailu Proton Mail.
stvrtok 20. novembra 2025, 12:27, Aki Tuomi
[3]aki.tuomi@open-xchange.com napisal/a:
On 20/11/2025 12:25 EET Marek Gresko via dovecot
[4]dovecot@dovecot.org wrote:
Hello,
I just upgraded my server from Fedora 42 to Fedora 43 and found
out there is an upgrade to dovecot 2.4 which requires completely
new config.
I am in doubt how I should convert it.
My main issue is now hot co convert this line:
mail_location =
maildir:/var/maildir/%u:INDEX=/var/dovecot-index/%u:CONTROL=/var/dovecot-control/%u
I am uncertain whether the first part should look like:
Good start
mail_home = /var/maildir/
mail_driver = maildir
mail_path = /var/maildir/%{user}
mail_index_path = /var/dovecot-index/%{user}
mail_control_path = /var/dovecot-control/%u{user}
See [5]https://doc.dovecot.org/2.4.2/core/config/mail_location.html
Aki
But I am completely lost how to convert INDEX and CONTROL section.
Could someone help me in this matter?
Thanks
Marek Hello,
I just upgraded my server from Fedora 42 to Fedora 43 and found
out there
is an upgrade to dovecot 2.4 which requires completely new config.
I am in doubt how I should convert it.
My main issue is now hot co convert this line:
mail_location =
maildir:/var/maildir/%u:INDEX=/var/dovecot-index/%u:CONTROL=/var/dovecot-control/%u
I am uncertain whether the first part should look like:
mail_home = /var/maildir/
mail_driver = maildir
mail_path = /var/maildir/%{user}
But I am completely lost how to convert INDEX and CONTROL section.
Could
someone help me in this matter?
Thanks
Marek
_______________________________________________
dovecot mailing list -- [6]dovecot@dovecot.org
To unsubscribe send an email to [7]dovecot-leave@dovecot.org
_______________________________________________
dovecot mailing list -- [8]dovecot@dovecot.org
To unsubscribe send an email to [9]dovecot-leave@dovecot.org
_______________________________________________
dovecot mailing list -- [10]dovecot@dovecot.org
To unsubscribe send an email to [11]dovecot-leave@dovecot.org
References
Visible links
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:aki.tuomi@open-xchange.com
- mailto:dovecot@dovecot.org
- https://doc.dovecot.org/2.4.2/core/config/mail_location.html
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org