On 16. Feb 2025, at 11.18, Joan Moreau via dovecot <dovecot@dovecot.org> wrote:
ssl_cert = </etc/letsencrypt/live/gjnet/fullchain.pem ssl_key = </etc/letsencrypt/live/gjnet/privkey.pem ssl_dh = </etc/mail/dovecot/dh.pem
ssl_server_* and no < here.
default_vsz_limit = 0
= unlimited
plugin {
There are no more plugin settings.
plugin = fts_xapian managesieve sieve fts = xapian fts_xapian = verbose=0
You need to convert this fts_xapian into individual settings. For example fts_xapian_verbose=0
fts_enforced = yes fts_autoindex_exclude = \Trash fts_autoindex_exclude2 = \Drafts
# fts_decoder = decode2text
Replacements for these are listed in the upgrading page.
sieve = file:/data/mails/%{user | domain }/%{user | username }/sieve/;active=/data/mails/%d/%n/sieve/default.sieve sieve_after = file:/data/mails/sieve/after.sieve sieve_default = file:/data/mails/sieve/before.sieve sieve_before = file:/data/mails/sieve/before.sieve sieve_global = file:/data/mails/sieve/
Looks like the sieve settings need to be added to the upgrading page. The configuration is very different anyway: https://doc.dovecot.org/2.4.0/core/plugins/sieve.html
userdb sql { query = SELECT 1 from users where user like '%{user | username}' and domain like '%{user | domain}' and active=1 iterate_query = SELECT user AS username, domain FROM users where active=1
Should be fine?
service imap-login { chroot = login service_count = 0
restart_request_count = unlimited
service indexer-worker { vsz_limit = 8G process_limit = 0
0 used to mean the same as default_process_limit. Now it's an error - just don't set it to keep the default.
protocol pop3 { mail_max_userip_connections = 256 pop3_enable_last = yes pop3_lock_session = no pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
The variables need updating.
protocol sieve { managesieve_implementation_string = dovecot managesieve_logout_format = bytes ( in=%i : out=%o )
Here too.
protocol lmtp { mail_plugins = $mail_plugins sieve
mail_plugins { sieve = yes }
Related item : I have "iterate_query" to convert from the old setup to the new config as well. What to do with that ?
Should be the same as before.