git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/1] [GSoC]smtp_auth_maybe: improve smtp authentication error handling logic

From
Zheng Yuting <05zyt30@gmail.com>
Date
Mar 7, 2025, 12:39 UTC
Message-ID
<20250307123934.2064275-1-05ZYT30@gmail.com>

This patch enhances error handling in the smtp_auth_maybe() function by distinguishing between temporary errors and permanent authentication failures.

- For temporary errors (e.g., timeout, network issues, etc.), the function
logs a warning and returns 1, allowing retries.
- For permanent errors (e.g., invalid credentials), it returns 0.

Additionally, it separates handling for SASL and plain authentication to prevent rejecting valid credentials due to non-credential errors, improving robustness.

Zheng Yuting (1):
  improve smtp authentication error handling logic
 git-send-email.perl | 30 ++++++++++++++++++++++--------
 1 file changed, 22 insertions(+), 8 deletions(-)

-- 2.49.0.rc0.57.gdb91954e18

Next: Zheng Yuting
Message 1 of 4 in “[GSoC]smtp_auth_maybe: improve smtp authentication error handling logic”
  1. 0/1 [GSoC]smtp_auth_maybe: improve smtp authentication error handling logicZheng Yuting, Mar 7, 2025
  2. 1/1 Improve SMTP authentication error handling logicZheng Yuting, Mar 7, 2025
  3. Karthik NayakMar 10, 2025
  4. Yuting ZhengMar 11, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.