Dovecot 2.4 - Issue with mail_location after Upgrade

Andreas Günther dovecot.user at linuxmaker.cloud
Sa Nov 8 13:53:42 CET 2025


Hi Klaus,

and thank you for your attention. I had also come across this point after 
seeing it in the documentary.

Greetings
Andreas



Am Freitag, 7. November 2025, 12:51:38 CET schrieb Klaus Tachtler via Dovecot:
> Hi Andreas,
> 
> > mail_home = /var/vmail/%d/%n
> 
> The old %d variable is now %{user | domain}
> The old %n variable is now %{user | username }
> 
> See also:
> https://doc.dovecot.org/latest/installation/upgrade/2.3-to-2.4.html
> 
> 
> Greetings
> Klaus.
> 
> ----- Nachricht von Andreas Günther via Dovecot
> <dovecot at listen.jpberlin.de> ---------
>       Datum: Thu, 06 Nov 2025 17:47:06 +0100
>         Von: Andreas Günther via Dovecot <dovecot at listen.jpberlin.de>
> Antwort an: Alles rund um Dovecot-Server <dovecot at listen.jpberlin.de>
>     Betreff: Re: Dovecot 2.4 - Issue with mail_location after Upgrade
>          An: dovecot at listen.jpberlin.de
>          Cc: Andreas Günther <dovecot.user at linuxmaker.cloud>
> 
> > Hi Klaus,
> > 
> > your suggest runs an my file looks like:
> > 
> > mail_driver = maildir
> > mail_home = /var/vmail/%d/%n
> > mail_inbox_path = .
> > mail_path = ~/Maildir
> > namespace inbox {
> > 
> >  type = private
> >  prefix =
> >  inbox = yes
> >  
> >  separator = /
> > 
> > }
> > mail_privileged_group = mail
> > mail_plugins = quota quota_clone acl fts fts_solr
> > mail_plugins {
> > 
> >  plugin = yes
> > 
> > }
> > protocol !indexer-worker {
> > }
> > 
> > Thanks for this. But I'm still curious why it worked via
> > dovecot.conf, but not
> > via the included file 10-mail.conf.
> > 
> > Greetings
> > 
> > Andreas
> > 
> > 
> > Am Donnerstag, 6. November 2025, 12:13:45 CET schrieb Klaus Tachtler via
> > 
> > Dovecot:
> >> Hi Andreas,
> >> 
> >> try:
> >> 
> >> mail_driver = maildir
> >> mail_inbox_path = .
> >> mail_path = ~/Maildir
> >> 
> >> instead of mail_location.
> >> 
> >> 
> >> Greetings
> >> Klaus.
> 
> ----- Ende der Nachricht von Andreas Günther via Dovecot
> <dovecot at listen.jpberlin.de> -----






Mehr Informationen über die Mailingliste Dovecot