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

Re: [PATCH] send-email: explicitly disable authentication

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Oct 18, 2018, 21:53 UTC
Message-ID
<CAPig+cR27mPmH+0oeT+2T878K-cBNqBnxPUumETnVK1cvz2qnA@mail.gmail.com>
In-Reply-To
<20181018211527.25597-1-JPEWhacker@gmail.com>
On Thu, Oct 18, 2018 at 5:16 PM Joshua Watt <jpewhacker@gmail.com> wrote:
Show 8 quoted lines
> It can be necessary to disable SMTP authentication by a mechanism other
> than sendemail.smtpuser being undefined. For example, if the user has
> sendemail.smtpuser set globally but wants to disable authentication
> locally in one repository.
>
> --smtp-auth and sendemail.smtpauth now understand the value 'none' which
> means to disable authentication completely, even if an authentication
> user is specified.

Implementation complexity aside, spelling the option --no-smtp-auth might be more intuitive and consistent than --smtp-auth=none.

> The value 'none' is lower case to avoid conflicts with any RFC 4422
> authentication mechanisms.
>
> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Previous: Joshua WattNext: Joshua Watt
Message 2 of 10 in “send-email: explicitly disable authentication”
  1. send-email: explicitly disable authenticationJoshua Watt, Oct 18, 2018
  2. Eric SunshineOct 18, 2018
  3. Joshua WattOct 18, 2018
  4. Eric SunshineOct 19, 2018
  5. send-email: explicitly disable authenticationJoshua Watt, Oct 22, 2018
  6. Joshua WattOct 22, 2018
  7. Junio C HamanoOct 23, 2018
  8. Joshua WattOct 23, 2018
  9. send-email: explicitly disable authenticationJoshua Watt, Oct 23, 2018
  10. Junio C HamanoOct 25, 2018

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.