Hi, When installing dovecot with the default config, after generating the certificates and changing login.conf for dovecot according to pkg-readme, dovecot will show the following warning at startup:
"Warning: fd limit (ulimit -n) is lower than required under max. load (512 < 1000), because of default_client_limit" (The commented default_client_limit = 1000 in /etc/dovecot/conf.d/10-master.conf) This warning is visible in /var/log/maillog. When starting the daemon with rcctl -d start dovecot it is visible on stderr. Reproducable on: * OpenBSD 6.4 (syspatched), amd64 dovecot-2.2.36 * Fresh installed OpenBSD 6.5 snapshot (of 2019-04-08), amd64 dovecot-2.3.5.1 (7ec6d0ade) Below is a patch to increase the defaults for dovecot in login.conf for the documentation /usr/local/share/doc/pkg-readmes/dovecot diff --git mail/dovecot/pkg/README-server mail/dovecot/pkg/README-server index e6ad6f8462d..36a75eb6a6f 100644 --- mail/dovecot/pkg/README-server +++ mail/dovecot/pkg/README-server @@ -12,7 +12,7 @@ user and processes in their own login(1) class with tuned resources. For example, add this to the login.conf(5) file: dovecot:\ - :openfiles-cur=512:\ + :openfiles-cur=1024:\ :openfiles-max=2048:\ :tc=daemon: -- Kind regards, Hiltjo