git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: Phillip Susi <phill@thesusis.net>
Cc: git@vger.kernel.org
Subject: Re: git send-email says AUTH is unknown command?
Date: Thu, 06 May 2021 17:22:31 +0200	[thread overview]
Message-ID: <87k0obvqa1.fsf@evledraar.gmail.com> (raw)
In-Reply-To: <878s4sc7gr.fsf@vps.thesusis.net>


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 :)

1. https://metacpan.org/release/libnet/source/lib/Net/SMTP.pm#L169

  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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=87k0obvqa1.fsf@evledraar.gmail.com \
    --to=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=phill@thesusis.net \
    --subject='Re: git send-email says AUTH is unknown command?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).