]> git.kaiwu.me - nginx.git/commit
Mail: reset stale auth credentials with "smtp_auth none;".
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 7 Jul 2025 19:48:44 +0000 (23:48 +0400)
committerpluknet <pluknet@nginx.com>
Wed, 13 Aug 2025 14:20:34 +0000 (18:20 +0400)
commit9c02c84a7443f3d736a1a5eb3f596de9af8a0c9c
tree389d42d2be0efeb3a292a71f8280d287a713cc30
parent765642b86e0df1b5ef37f42522be7d08d95909c9
Mail: reset stale auth credentials with "smtp_auth none;".

They might be reused in a session if an SMTP client proceeded
unauthenticated after previous invalid authentication attempts.
This could confuse an authentication server when passing stale
credentials along with "Auth-Method: none".

The condition to send the "Auth-Salt" header is similarly refined.
src/mail/ngx_mail_auth_http_module.c
src/mail/ngx_mail_smtp_handler.c