mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2026-11-21 03:26:29 +03:00
postsrsd closes every file descriptor up to the soft `nofile` limit before it binds its ports. Recent Docker and containerd releases default to a limit of around 1 billion or more, so postsrsd never listened on ports 10001 and 10002 and Postfix deferred all mail. Lower the soft limit to 65536 in the supervisor command of postsrsd. This only affects that process and needs no configuration by the user. Document the symptom and the `ulimits` workaround for earlier versions at `ENABLE_SRS`, and add a test that verifies the limit postsrsd runs with. Closes #4864