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][email protected]> 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][email protected]> 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][email protected] napisal/a:


           On 20/11/2025 12:25 EET Marek Gresko via dovecot
           [4][email protected] 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][email protected]
           To unsubscribe send an email to [7][email protected]

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

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

References

   Visible links
   1. mailto:[email protected]
   2. mailto:[email protected]
   3. mailto:[email protected]
   4. mailto:[email protected]
   5. https://doc.dovecot.org/2.4.2/core/config/mail_location.html
   6. mailto:[email protected]
   7. mailto:[email protected]
   8. mailto:[email protected]
   9. mailto:[email protected]
  10. mailto:[email protected]
  11. mailto:[email protected]
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to