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

Re: an error when using 'git send-email'

From
MBMagnus Bäck <magnus.back@sonyericsson.com>
Date
Feb 20, 2011, 16:44 UTC
Message-ID
<20110220164427.GA1439@jpl.local>
In-Reply-To
<AANLkTiktO_f9+g4+wSS989a=pFZBgWGcORd_kg4pji-x@mail.gmail.com>
On Friday, February 18, 2011 at 12:45 CET,
     Yongqiang Yang <xiaoqiangnk@gmail.com> wrote:
> When I use git 'send-email', I get an error "Command unknown:  'AUTH'
> at /usr/bin/git-send-email line 775, <STDIN> line 1".
> Is there anyone meet the same error?

You seem to have configured a username and password for SMTP authentication, yet the server Git connects to doesn't support authentication.

Make sure the SMTP server you've configured Git to use (sendemail.smtpserver configuration variable) is the right one. If so, clear the smtpemail.smtpuser and smtpemail.smtppass variables as you obviously can't use them with the server.

For testing purposes there are options to "git send-email" to override the values set in the configuration files. Those might be more convenient to use when testing out new configurations.

-- 
Magnus Bäck                      Opinions are my own and do not necessarily
SW Configuration Manager         represent the ones of my employer, etc.
Sony Ericsson
Previous: Yongqiang YangNext: Yongqiang Yang
Message 4 of 6 in “an error when using 'git send-email'”
  1. Yongqiang YangFeb 18, 2011
  2. Matthieu MoyFeb 18, 2011
  3. Yongqiang YangFeb 20, 2011
  4. Magnus BäckFeb 20, 2011
  5. Yongqiang YangFeb 22, 2011
  6. Magnus BäckFeb 22, 2011

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.