From: Stephan Bosch Date: Sun, 31 Aug 2025 18:06:27 +0000 (+0200) Subject: auth: auth-sasl - Add translation for Submission and LMTP protocols to just smtp X-Git-Tag: 2.4.2~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43ef518f3d7448f7f9346519a775d3bd12256d8b;p=thirdparty%2Fdovecot%2Fcore.git auth: auth-sasl - Add translation for Submission and LMTP protocols to just smtp --- diff --git a/src/auth/auth-sasl.c b/src/auth/auth-sasl.c index 90a597ee98..1333244c62 100644 --- a/src/auth/auth-sasl.c +++ b/src/auth/auth-sasl.c @@ -256,6 +256,12 @@ auth_sasl_translate_protocol_name(struct auth_request *request) called just "pop". */ return "pop"; } + if (strcasecmp(protocol, "Submission") == 0 || + strcasecmp(protocol, "LMTP") == 0) { + /* The standard Submission or LMTP service name with + SASL/GSSAPI/Kerberos is called just "smtp". */ + return "smtp"; + } return t_str_lcase(protocol); }