archive mirror
 help / color / mirror / Atom feed
From: "Ævar Arnfjörð Bjarmason" <>
To: Phillip Susi <>
Subject: Re: git send-email says AUTH is unknown command?
Date: Thu, 06 May 2021 17:22:31 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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].

We should probably intercept this in particular and emit a better error,
patches welcome :)


  reply	other threads:[~2021-05-06 15:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-06 13:30 Phillip Susi
2021-05-06 15:22 ` Ævar Arnfjörð Bjarmason [this message]
2021-05-06 17:06   ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: git send-email says AUTH is unknown command?' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).