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

Re: git send-email says AUTH is unknown command?

From
Jeff King <peff@peff.net>
Date
May 6, 2021, 17:06 UTC
Message-ID
<YJQiFYYENfsZk7B+@coredump.intra.peff.net>
In-Reply-To
<87k0obvqa1.fsf@evledraar.gmail.com>
On Thu, May 06, 2021 at 05:22:31PM +0200, Ævar Arnfjörð Bjarmason wrote:
Show 19 quoted lines
> 
> On Thu, May 06 2021, Phillip Susi wrote:
> 
> > git send-email prompts for my SMTP password then says:
> > Command unknown: 'AUTH' at /usr/lib/git-core/git-send-email line 1573.
> >
> > That line reads:
> >
> > smtp_auth_maybe or die $smtp->message;
> >
> > Why is it complaining that it does not know what AUTH means?  It is
> > connecting to port 25 and /should/ be using STARTTLS.
> 
> This message is from your server indirectly, i.e. there is no AUTH verb
> supported by it.
> 
> I'm almost certain that you'll find that you cannot in fact auth on port
> 25 on this server, and must use another port to do SSL from the start,
> i.e. not STARTSSL[1].

Alternatively, it may be that the server would prefer port 587 (with STARTTLS), which is typically used for "submission" (i.e., originating new messages from authenticated users, versus the normal port 25 for MTA's routing messages between them).

-Peff
Previous: Ævar Arnfjörð Bjarmason
Message 3 of 3 in “git send-email says AUTH is unknown command?”
  1. Phillip SusiMay 6, 2021
  2. Ævar Arnfjörð BjarmasonMay 6, 2021
  3. Jeff KingMay 6, 2021

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.