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

On Thu, May 06, 2021 at 05:22:31PM +0200, Ævar Arnfjörð Bjarmason wrote:

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

      reply	other threads:[~2021-05-06 17:06 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
2021-05-06 17:06   ` Jeff King [this message]

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=YJQiFYYENfsZk7B+@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=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).