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





Odoslané pomocou bezpečného emailu Proton Mail.

štvrtok 20. novembra 2025, 15:39, Marek Greško via dovecot 
<[email protected]> napísal/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
> 
> 
> 
> 
> Odoslané pomocou bezpečného emailu Proton Mail.
> 
> 
> štvrtok 20. novembra 2025, 12:27, Aki Tuomi [email protected] 
> napísal/a:
> 
> > > On 20/11/2025 12:25 EET Marek Greško via dovecot [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 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 -- [email protected]
> > > To unsubscribe send an email to [email protected]
> 
> _______________________________________________
> dovecot mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to