Dovecot 2.3 zu Dovecot 2.4: Problem mit bestehenden hidden Maildirs und Namespace-Konfiguration in Dovecot 2.4
Andreas Günther
dovecot.user at linuxmaker.cloud
Fr Dez 5 10:28:09 CET 2025
Hier ist meine doveconf:
dovecot_config_version = 2.4.1
acl_driver = vfile
auth_allow_weak_schemes = yes
auth_debug = yes
auth_debug_passwords = yes
auth_username_format = %{user|lower}
auth_verbose = yes
doveadm_password = # hidden, use -P to show it
doveadm_port = 12345
dovecot_storage_version = 2.4.1
fts_autoindex = yes
fts_autoindex_max_recent_msgs = 999
fts_search_add_missing = yes
info_log_path = /var/log/dovecot/dovecot-info.log
listen = *
log_path = /var/log/dovecot/dovecot.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k
mail_debug = yes
mail_driver = maildir
mail_home = /var/vmail/%{user | domain}/%{user | username }
mail_max_userip_connections = 500
mail_path = /var/vmail/%{user | domain}/%{user | username }/
mail_plugins = notify quota push_notification quota_clone acl fts fts_solr
mail_privileged_group = mail
protocols {
imap = yes
sieve = yes
lmtp = yes
pop3 = yes
}
quota_exceeded_message = Benutzer %{user} hat das Speichervolumen ueberschritten. /
User %{user} has exhausted allowed storage space.
sieve_global_extensions {
vnd.dovecot.pipe = yes
}
sieve_max_redirects = 10
sieve_max_script_size = 1M
sieve_plugins {
sieve_imapsieve = yes
sieve_extprograms = yes
}
sql_driver = mysql
ssl_cipher_list = ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-
SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-
ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-
SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
verbose_proctitle = yes
mysql /var/run/mysqld/mysqld.sock {
dbname = postfix
password = # hidden, use -P to show it
user = postfix
}
passdb sql {
query = SELECT username AS user, CONCAT('{CRYPT}', password) AS password FROM
mailbox WHERE username = '%{user}' AND active = true;
}
userdb sql {
iterate_query = SELECT username AS user FROM mailbox WHERE active = true;
query = SELECT 5000 AS uid, 5000 AS gid, CONCAT('/var/vmail/',
SUBSTRING_INDEX(username,'@',-1), '/', SUBSTRING_INDEX(username,'@',1)) AS home,
CONCAT('maildir:/var/vmail/', SUBSTRING_INDEX(username,'@',-1), '/',
SUBSTRING_INDEX(username,'@',1)) AS mail, CONCAT(quota,'M') AS quota_storage_size
FROM mailbox WHERE username = '%{user}' AND active = true;
}
namespace inbox {
inbox = yes
list = yes
prefix =
separator = .
mailbox Drafts {
special_use = "\\Drafts"
}
mailbox Archive {
}
mailbox Junk {
special_use = "\\Junk"
}
mailbox Sent {
special_use = "\\Sent"
}
mailbox Trash {
special_use = "\\Trash"
quota_storage_extra = 100M
quota_storage_percentage = 110
}
mailbox "Sent Messages" {
special_use = "\\Sent"
}
}
service imap-login {
inet_listener imap {
}
inet_listener imaps {
}
}
service pop3-login {
inet_listener pop3 {
}
inet_listener pop3s {
}
}
service submission-login {
inet_listener submission {
}
}
service imap {
executable = imap
process_limit = 1024
process_min_avail = 2
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listen.jpberlin.de/pipermail/dovecot/attachments/20251205/3b5f7a4f/attachment-0001.htm>
Mehr Informationen über die Mailingliste Dovecot