Hi Markus,

On 1/29/26 16:47, Markus Winkler ([email protected]) wrote:
Hi Richard,

some thoughts:

- to me this is a Dovecot (upgrade) issue


I feared the same, though the question was if maybe the way SOGo and Dovecot talk to each other could have been an issue, as the log entry was by SOGo and because of that warning message.



- it would be helpful to have the whole Dovecot config -> output of 'doveconf -n'
# 2.4.1-4 (7d8c0e5759): /etc/dovecot/dovecot.conf
# Pigeonhole version 2.4.1-4 (0a86619f)
# OS: Linux 6.12.63+deb13-amd64 x86_64 Debian 13.3 ext4
# Hostname: domain
# 4 default setting changes since version 2.4.0
dovecot_config_version = 2.4.0
auth_mechanisms = plain
compress_zstd_level = 4
debug_log_path = /var/log/dovecot/debug.log
default_process_limit = 200
dovecot_storage_version = 2.4.0
first_valid_uid = 1000
fts_autoindex = yes
fts_autoindex_max_recent_msgs = 999
fts_search_add_missing = yes
info_log_path = /var/log/dovecot/info.log
language_filters = normalizer-icu snowball stopwords
language_tokenizers = generic email-address
log_debug = category=error
log_path = /var/log/dovecot/error.log
mail_compress_write_method = zstd
mail_driver = maildir
mail_path = /maildirs/%{user}/Maildir
mail_plugins {
  fts = yes
  fts_flatcurve = yes
}
mail_privileged_group = users
mail_shared_explicit_inbox = yes
protocols = imap lmtp pop3 sieve
quota_mail_size = 50M
sieve_execute_bin_dir = /etc/dovecot/sieve/global
sieve_execute_socket_dir = sieve-execute
sieve_extensions {
  fileinto = yes
  reject = yes
  envelope = yes
  encoded-character = yes
  vacation = yes
  subaddress = yes
  comparator-i;ascii-numeric = yes
  relational = yes
  regex = yes
  imap4flags = yes
  copy = yes
  include = yes
  body = yes
  variables = yes
  enotify = yes
  environment = yes
  mailbox = yes
  date = yes
  index = yes
  ihave = yes
  duplicate = yes
  mime = yes
  foreverypart = yes
  extracttext = yes
  imapsieve = yes
  spamtest = yes
  virustest = yes
  vnd.dovecot.pipe = yes
}
sieve_filter_bin_dir = /etc/dovecot/sieve/global
sieve_filter_socket_dir = sieve-filter
sieve_global_extensions {
  vnd.dovecot.pipe = yes
  vnd.dovecot.execute = yes
  vnd.dovecot.environment = yes
}
sieve_pipe_bin_dir = /etc/dovecot/sieve/global
sieve_pipe_socket_dir = sieve-pipe
sieve_plugins {
  sieve_imapsieve = yes
  sieve_extprograms = yes
}
ssl = required
ssl_cipher_suites = TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256
ssl_curve_list = X25519:prime256v1:secp384r1
ssl_options = compression
passdb pam {
  driver = pam
}
userdb passwd {
  driver = passwd
}
namespace inbox {
  inbox = yes
  separator = /
  type = private
  mailbox Drafts {
    auto = subscribe
    special_use = "\\Drafts"
  }
  mailbox Junk {
    auto = subscribe
    special_use = "\\Junk"
  }
  mailbox Trash {
    auto = subscribe
    special_use = "\\Trash"
  }
  mailbox Sent {
    special_use = "\\Sent"
  }
  mailbox "Sent Messages" {
    special_use = "\\Sent"
  }
}
maildir {
  broken_filename_sizes = yes
}
service imap-login {
  inet_listener imap {
  }
  inet_listener imaps {
  }
}
service pop3-login {
  inet_listener pop3 {
  }
  inet_listener pop3s {
  }
}
service submission-login {
  inet_listener submission {
  }
  inet_listener submissions {
  }
}
service lmtp {
  unix_listener lmtp {
  }
}
service imap {
}
service pop3 {
}
service submission {
}
service auth {
  unix_listener auth-userdb {
  }
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
  }
}
service auth-worker {
}
service dict {
  unix_listener dict {
  }
}
ssl_server {
  cert_file = /etc/ssl/certs/domain.fullchain.pem
  dh_file = /etc/dovecot/dh.pem
  key_file = /etc/ssl/private/domain.private.pem
  prefer_ciphers = server
}
protocol lda {
  mail_plugins {
    mail_compress = yes
  }
}
protocol imap {
  mail_max_userip_connections = 20
  mail_plugins {
    imap_sieve = yes
    quota = yes
    imap_quota = yes
    mail_compress = yes
  }
}
protocol lmtp {
  mail_plugins {
    sieve = yes
  }
}
service managesieve-login {
  process_min_avail = 3
  inet_listener sieve {
    port = 4190
  }
}
service managesieve {
}
language en {
  default = yes
  filters = lowercase snowball english-possessive stopwords
}
fts flatcurve {
  substring_search = yes
}
sieve_script personal {
  active_path = /maildirs/%{user}/.dovecot.sieve
  driver = file
  path = /maildirs/%{user}/
}
sieve_script default {
  driver = file
  path = /etc/dovecot/sieve/global/mailfilter.sieve
  type = default
}
sieve_script after-0 {
  driver = file
  path = /etc/dovecot/sieve/global/mailfilter.sieve
  type = after
}
mailbox Spam {
  sieve_script report-spam {
    cause = copy
    driver = file
    path = /etc/dovecot/sieve/global/learn-spam.sieve
    type = before
  }
}
imapsieve_from Spam {
  sieve_script report-ham {
    cause = copy
    driver = file
    path = /etc/dovecot/sieve/global/learn-ham.sieve
    type = before
  }
}

- do you know the new configuration upgrade tool?: https://dovecot.org/upgrader/

  you could try it and see, if there are differences between your current configuration and the configuration converted by the tool from v2.3
I know of it, I've tried it, but it's only ever so slightly more helpful than the in times quite unhelpful migration guide. And sometimes it's just generating false conversions that prevent Dovecot's service from starting.

- these outputs of ls for these directories of an example user would also be helpful:

  ls -la /maildirs/username/
ls -la /maildirs/username/
total 32K
drwx------   5 username root  4,0K 29. Jan 12:04 .
drwxr-xr-x 165 root    root  4,0K 26. Jan 13:01 ..
lrwxrwxrwx   1 username users   10 29. Jan 12:04 .dovecot.sieve -> sogo.sieve
-rw-------   1 username users    0 28. Jan 21:42 .dovecot.sieve.log
-rw-------   1 username users  775 28. Jan 21:38 .dovecot.svbin
drwx------  12 username root  4,0K 29. Jan 17:04 Maildir
drwx------   3 username users 4,0K 28. Jan 21:55 .sieve
-rw-------   1 username users  381 29. Jan 12:04 sogo.sieve
drwx------   2 username users 4,0K 29. Jan 12:04 tmp
  ls -la /maildirs/username/.sieve
ls -la /maildirs/username/.sieve/
total 16K
drwx------ 3 username users 4,0K 28. Jan 21:55 .
drwx------ 5 username root  4,0K 29. Jan 12:04 ..
-rw------- 1 username users  381 28. Jan 21:55 sogo.sieve
drwx------ 2 username users 4,0K 28. Jan 21:55 tmp


Best regards

Richard

Reply via email to