]> 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)
committerSergey Kandaurov <s.kandaurov@f5.com>
Tue, 23 Dec 2025 18:40:33 +0000 (22:40 +0400)
commit144a911e2b337578926513826cb8cc2c6678f104
treede1aef69eaee09b3e3f79dbc22b786ab98353279
parentfbbbf189dadf3bd59c2462af68c16f2c2874d4ee
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