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

Re: [PATCH] send-email: pass smtp hostname and port to Authen::SASL

From
Aditya Garg <gargaditya08@live.com>
Date
Mar 5, 2026, 16:54 UTC
Message-ID
<MAUPR01MB1154638D0656DAC084F4EDC73B87DA@MAUPR01MB11546.INDPRD01.PROD.OUTLOOK.COM>
In-Reply-To
<xmqqms0m452i.fsf@gitster.g>
On 05/03/26 9:54 pm, Junio C Hamano wrote:
Show 16 quoted lines
> Aditya Garg <gargaditya08@live.com> writes:
> 
>>> On 5 Mar 2026, at 8:15 PM, Junio C Hamano <gitster@pobox.com> wrote:
>>>
>>> Aditya Garg <gargaditya08@live.com> writes:
>>>
>>> [administrivia]
>>>
>>>    Please do not send patch e-mails directly at me, unless you know
>>>    that I am the area authority.  Initial submissions are better
>>>    sent to the list on To: list, with area experts on Cc: if you
>>>    know or found out who they are.
>>
>> Oh sorry. I just did whatever I did in my previous contributions. I didn't know the rules changed.
> 
> No rule changes as far as I know.
I had sent several patches for send-email and imap-send between 2.50 and 2.52, and in every submission I did email directly to the maintainers. Maybe you were just lenient with me that time. Regardless, I'll make sure that future patches are sent only to the mailing list.
Show 20 quoted lines
> 
>>>> Starting from version 2.2000, Authen::SASL supports passing the SMTP
>>>> server hostname and port to the OAUTHBEARER string passed via SMTP AUTH.
>>>> Add support for the same in git-send-email.
>>>
>>> The proposed log message should answer these questions as well:
>>>
>>>   What happens with version before 2.2000?  Is it safe to
>>>   unconditionally add parameters like this patch does, and why?
>>
>> It's safe to add parameters unconditionally because the library
>> will simply reject them without any error. It's basically like
>> declaring a variable and not using it anywhere for older
>> versions. I have tested this with old libraries as well.
>>
>> Consider the fact that the authname variable is also not in every
>> authentication method used by Authen SASL, still its declared
>> unconditionally before.
> 
> These are good to have in the proposed log message.
Will send a v2
Cheers!
Previous: Junio C HamanoNext: Aditya Garg
Message 5 of 6 in “send-email: pass smtp hostname and port to Authen::SASL”
  1. send-email: pass smtp hostname and port to Authen::SASLAditya Garg, Mar 5, 2026
  2. Junio C HamanoMar 5, 2026
  3. Aditya GargMar 5, 2026
  4. Junio C HamanoMar 5, 2026
  5. Aditya GargMar 5, 2026
  6. send-email: pass smtp hostname and port to Authen::SASLAditya Garg, Mar 5, 2026

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.