Patrick Westenberg <pw@wk-serv.de> wrote:
11:23:55 imap-login: Error: socketpair() failed: Too many open files
As root run "systemctl edit dovecot.service". This will create a drop-in configuration file in /etc/systemd/system/dovecot.service.d/ which will be appended to the one in /lib/systemd/system/ during startup.
The content should be
----paste-below----------8<--------------- [Service] LimitNOFILE=8192 ----paste-above----------8<---------------
Then a swift "systemctl daemon-reload" followed by "systemctl restart dovecot.service" should fix your problem.
Attention: Do *NOT* follow anyone advising you to copy the whole systemd.unit from /lib/systemd/system/dovecot.service to /etc/systemd/system, as this will/may break your system after an update to a new Debian version in the future.
Grüße, Sven.
-- Sigmentation fault. Core dumped.