Stephan Bosch via Postfix-devel:
> Looks like Postfix [...] somehow uses the data from the previous CONT auth
> service
> response as the reason.
Does this patch address the problem? It resets any previous Dovecot
auth service response before parsing the next Dovecot auth server
response.
Wietse
--- ./xsasl_dovecot_server.c- 2022-01-02 18:25:27.000000000 -0500
+++ ./xsasl_dovecot_server.c 2023-11-02 10:08:18.716687487 -0400
@@ -543,6 +543,8 @@
myfree(server->username);
server->username = 0;
}
+ VSTRING_RESET(reply);
+ VSTRING_TERMINATE(reply);
/*
* Note: TAB is part of the Dovecot protocol and must not appear in
This behavior exists in all Postfix xsasl_dovecot_server implementations,
including the first one in December 2005.
Wietse
_______________________________________________
Postfix-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]