fix: Dovecot 2.4 mail_driver/mail_path remplace mail_location, variables %{user|domain}

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jules
2026-05-05 11:40:00 +02:00
parent 35977ac7f9
commit 1ef093f5ec
2 changed files with 6 additions and 4 deletions

View File

@@ -162,7 +162,8 @@ dovecot_storage_version = 2.4.0
protocols = imap protocols = imap
listen = * listen = *
mail_location = maildir:/var/mail/vhosts/%{domain}/%{username}/Maildir mail_driver = maildir
mail_path = ~/Maildir
mail_privileged_group = vmail mail_privileged_group = vmail
auth_mechanisms = plain login auth_mechanisms = plain login
@@ -177,7 +178,7 @@ userdb static {
fields { fields {
uid = vmail uid = vmail
gid = vmail gid = vmail
home = /var/mail/vhosts/%{domain}/%{username} home = /var/mail/vhosts/%{user|domain}/%{user|username}
} }
} }

View File

@@ -83,7 +83,8 @@ dovecot_storage_version = 2.4.0
protocols = imap protocols = imap
listen = * listen = *
mail_location = maildir:/var/mail/vhosts/%{domain}/%{username}/Maildir mail_driver = maildir
mail_path = ~/Maildir
mail_privileged_group = vmail mail_privileged_group = vmail
auth_mechanisms = plain login auth_mechanisms = plain login
@@ -98,7 +99,7 @@ userdb static {
fields { fields {
uid = vmail uid = vmail
gid = vmail gid = vmail
home = /var/mail/vhosts/%{domain}/%{username} home = /var/mail/vhosts/%{user|domain}/%{user|username}
} }
} }