I just updated my mailcow-dockerized setup and now keep getting authentication errors when using a mailclient. Sogo just works fine.
In the logs of dovecot I get these errors:
01.10.2025, 21:17:03 err auth-worker: Error: /etc/dovecot/auth/passwd-verify.lua:32: in function 'auth_password_verify'
01.10.2025, 21:17:03 err auth-worker: Error: [C]: in function 'cjson.decode'
01.10.2025, 21:17:03 err auth-worker: Error: stack traceback:
01.10.2025, 21:17:03 err auth-worker(410): Error: conn unix:auth-worker (pid=130,uid=401): auth-worker<56>: lua(my@mailaddress,xx.xx.xx.xx,<6qc4th1Ajeo+W6z3>): passdb-lua: lua_pcall(auth_password_verify, 2, 2) failed: /etc/dovecot/auth/passwd-verify.lua:32: Expected value but found invalid token at character 1
From the error I assume that the function tries to decode something as json that is not json but rather html where the “invalid token at character 1” would be the opening of an html tag (<)
The nginx container logs this line when I try to authenticate:
nginx-mailcow-1 | 172.22.1.250 - - [01/Oct/2025:21:17:59 +0200] "POST / HTTP/1.1" 200 227 "-" "LuaSocket 3.0.0"
which looks just fine.
Any ideas on that? Is that a bug?
edit: I updated mailcow to 2025-09b