Dovecot 2.4 - Issue with mail_location after Upgrade

Klaus Tachtler klaus at tachtler.net
Fr Nov 7 12:51:38 CET 2025


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> -----



-- 

---------------------------------------
e-Mail  : klaus at tachtler.net
Homepage: https://www.tachtler.net
DokuWiki: https://dokuwiki.tachtler.net
---------------------------------------
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-keys
Dateigröße  : 3121 bytes
Beschreibung: Öffentlicher PGP-Schlüssel
URL         : <https://listen.jpberlin.de/pipermail/dovecot/attachments/20251107/45f84fa7/attachment.skr>


Mehr Informationen über die Mailingliste Dovecot