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

Re: [PATCH] Add ability to specify SMTP server port when using git-send-email.

From
GRGlenn Rempe <glenn.rempe@mac.com>
Date
Sep 26, 2007, 00:23 UTC
Message-ID
<F45A8184-2867-47A4-87D1-64EB48340E3A@mac.com>
In-Reply-To
<7vmyva2uqd.fsf@gitster.siamese.dyndns.org>
On Sep 25, 2007, at 4:25 PM, Junio C Hamano wrote:
Show 17 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>>
>>> On Tue, 25 Sep 2007, Glenn Rempe wrote:
>>>
>>>> +if (($smtp_server =~ /:\d+/) && (defined $smtp_server_port)) {
>>>
>>> Not that I want to be a PITA, but this breaks down with IPv6, right?
>>
>> Right.  Do we care about symbolic "server.addre.ss:smtp"
>> notation as well, I wonder?
>
> Well, does it break?
>
> BTW, I do not think we care about ":smtp"; it was a
> tongue-in-cheek comment.

Unfortunately, I know little about IPv6 and whether this breaks IPv6 addressing or not. So I'll leave that question for others. Does the unpatched code work with IPv6? Does anyone currently use it that way?

Junio, are you suggesting that I should remove the host:port form support entirely and leave only the --smtp-server port option as valid? I kind of liked that this new method allows both forms of specifying port as equal citizens. :-) If you are suggesting that it be removed, I think we would have to reject the host:port form smtp-server addresses so we don't break when both --smtp- server=host:port and -smtp-ssl are provided. (which brings us back to the ipv6 question). No?

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 10 in “Add ability to specify SMTP server port when using git-send-email.”
  1. Add ability to specify SMTP server port when using git-send-email.Glenn Rempe, Sep 25, 2007
  2. Johannes SchindelinSep 25, 2007
  3. Junio C HamanoSep 25, 2007
  4. Junio C HamanoSep 25, 2007
  5. Glenn RempeSep 26, 2007
  6. Junio C HamanoSep 26, 2007
  7. Glenn RempeSep 26, 2007
  8. Johannes SchindelinSep 26, 2007
  9. Andreas EricssonSep 26, 2007
  10. Johannes SchindelinSep 26, 2007

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.