Dovecot 2.3.17 can not start - too many parameters

Robert Nowotny rnowotny1966 at gmail.com
Fri Oct 29 20:25:17 EEST 2021


Dovecot 2.3.17 can not start - too many parameters. but the same config is
working on 2.3.16 (and for a long time already ...)

started via systemd unit file :
==================
[Unit]
Description=Dovecot IMAP/POP3 email server
Documentation=man:dovecot(1)
Documentation=http://wiki2.dovecot.org/
After=local-fs.target network.target dnsmasq.service
NetworkManager-wait-online.service network-online.target
Requires=network.target network-online.target dnsmasq.service
local-fs.target
[Service]
Type=forking
ExecStart=/usr/local/sbin/dovecot -c /etc/dovecot/dovecot.conf
PIDFile=/usr/local/var/run/dovecot/master.pid
ExecReload=/usr/local/bin/doveadm reload
ExecStop=/usr/local/bin/doveadm stop
PrivateTmp=true
NonBlocking=yes
LimitNOFILE=8192
[Install]
WantedBy=multi-user.target
==================

log:
Oct 29 18:48:58 lxc-imap dovecot[1781]: doveconf: Fatal:
execvp(/usr/local/sbin/dovecot) failed: Argument list too long
Oct 29 18:48:58 lxc-imap systemd[1]: dovecot.service: Control process
exited, code=exited, status=89/n/a
Oct 29 18:48:58 lxc-imap systemd[1]: dovecot.service: Failed with result
'exit-code'.

but when I run doveconf -n, it is working under 2.3.17
I needed to revert to version 2.3.16 to send this email ;-)

running on Ubuntu impish

yours sincerely

Robert Nowotny
Rotek GmbH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20211029/bc73e134/attachment.html>
-------------- next part --------------
# 2.3.16 (7e2e900c1a): /etc/dovecot/dovecot.conf
# OS: Linux 5.13.0-20-generic x86_64 Ubuntu 21.10 ext4
# Hostname: lxc-imap.local.rotek.at
auth_failure_delay = 10 secs
auth_mechanisms = plain login
auth_username_format = %Ln
default_client_limit = 4000
default_process_limit = 1000
default_vsz_limit = 32000 M
hostname = vm-mail.rotek.at
imap_max_line_length = 512 k
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
login_greeting = Rotek IMAP Service ready.
mail_location = mdbox:/home/vmail/virtualmailboxes/%n:DIRNAME=dbox-Mails-nocollision-random-KOKxNmMJkEBeCitBhFwS
mail_max_keyword_length = 80
mail_plugins = " virtual zlib zlib"
mailbox_idle_check_interval = 10 secs
mdbox_rotate_size = 5 M
namespace {
  location = virtual:/home/vmail/virtualfolders/%n:INDEX=/home/vmail/virtualmailboxes/%n/VirtualFolderIndices
  prefix = virtual/
  separator = /
  type = private
}
namespace inbox {
  inbox = yes
  location = 
  mailbox Archive {
    special_use = \Archive
  }
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk {
    auto = create
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  mailbox virtual/All {
    special_use = \All
  }
  mailbox virtual/Flagged {
    special_use = \Flagged
  }
  prefix = 
}
passdb {
  args = scheme=SHA512-CRYPT username_format=%n /etc/dovecot/imap.pwd
  driver = passwd-file
}
plugin {
  zlib_save = zstd
  zlib_save_level = 6
}
postmaster_address = postmaster at rotek.at
protocols = imap lmtp
rejection_subject = Rejected by vm-imap(imap service): %s
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    user = vmail
  }
}
service imap-login {
  process_min_avail = 24
  service_count = 0
}
service lmtp {
  process_min_avail = 5
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}
service stats {
  chroot = empty
  client_limit = 0
  drop_priv_before_exec = no
  executable = stats
  extra_groups = 
  fifo_listener stats-mail {
    group = 
    mode = 0666
    user = 
  }
  fifo_listener stats-user {
    group = 
    mode = 0666
    user = 
  }
  group = 
  idle_kill = 4294967295 secs
  privileged_group = 
  process_limit = 1
  process_min_avail = 0
  protocol = 
  service_count = 0
  type = 
  unix_listener stats {
    group = 
    mode = 0666
    user = 
  }
  user = $default_internal_user
  vsz_limit = 18446744073709551615 B
}
ssl = required
ssl_ca = </etc/ssl/certs/ca-certificates.crt
ssl_cert = </etc/letsencrypt/live/vm-imap.rotek.at/fullchain.pem
ssl_cipher_list = EECDH+AESGCM+AES128:EECDH+AESGCM+AES256:EECDH+CHACHA20:EDH+AESGCM+AES128:EDH+AESGCM+AES256:EDH+CHACHA20
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
ssl_prefer_server_ciphers = yes
submission_host = 192.168.168.5:25
syslog_facility = local5
userdb {
  args = username_format=%n /etc/dovecot/imap.pwd
  default_fields = uid=vmail gid=vmail home=/home/vmail/virtualhomes/%n
  driver = passwd-file
  override_fields = home=/home/vmail/virtualhomes/%n
}
verbose_proctitle = yes
protocol lmtp {
  mail_plugins = " virtual zlib zlib zlib"
  postmaster_address = postmaster at rotek.at
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
  mail_max_userip_connections = 20
  mail_plugins = " virtual zlib zlib imap_zlib"
}


More information about the dovecot mailing list