mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-18 14:47:03 +00:00
When we can't authenticate due to a transient issue, for example if we rely on Dovecot and it is not responding, we should use a differentiated error code to avoid confusing users. However, today we return the same error code as when the user enters the wrong password, which could confuse users as their MUA might think their credentials are no longer valid. This patch fixes the issue by returning a differentiated error code in that case, as per RFC 4954. Thanks to Max Mazurov (fox.cpp@disroot.org) for reporting this problem.