mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-18 14:47:03 +00:00
Dovecot has options for changing the formatting of usernames; for example, dropping the domain part, or replacing characters. chasquid's implementation, however, fails to handle this well, as it expects the reply to contain the username exactly as requested. This patch fixes the problem by making chasquid ignoring the returned username, which is unused anyway. The protocol is unambiguous enough. Tests are also amended to always exercise this case.