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

Re: [PATCH] send-email: Honour SMTP domain when using TLS

From
Brian Gernhardt <brian@gernhardtsoftware.com>
Date
Oct 16, 2011, 04:18 UTC
Message-ID
<B691D22B-2FB3-407B-A986-EECB97ED29B0@gernhardtsoftware.com>
In-Reply-To
<7v62jpvc8f.fsf@alter.siamese.dyndns.org>
On Oct 15, 2011, at 11:36 PM, Junio C Hamano wrote:
Show 18 quoted lines
> Matthew Daley <mattjd@gmail.com> writes:
> 
>> git-send-email sends two SMTP EHLOs when using TLS encryption, however
>> only the first, unencrypted EHLO uses the SMTP domain that can be
>> optionally specified by the user (--smtp-domain).  This is because the
>> call to hello() that produces the second, encrypted EHLO does not pass
>> the SMTP domain as an argument, and hence a default of
>> 'localhost.localdomain' is used instead.
>> 
>> Fix by passing in the SMTP domain in this call.
>> 
>> Signed-off-by: Matthew Daley <mattjd@gmail.com>
> 
> Sounds sensible, thanks.
> 
> Brian, who did 69cf7bf (send-email: Cleanup smtp-domain and add config,
> 2010-04-10) to make the initial hello use $smtp_domain, could you take a
> quick look and an Ack?
It does look sensible to me, but I wasn't the one who added all the HELO work.  I mostly was mucking about with variable names and how they got set.  Jari Aalto added them originally in 134550f.
~~ Brian
Previous: Junio C Hamano
Message 3 of 3 in “send-email: Honour SMTP domain when using TLS”
  1. send-email: Honour SMTP domain when using TLSMatthew Daley, Oct 15, 2011
  2. Junio C HamanoOct 16, 2011
  3. Brian GernhardtOct 16, 2011

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.