From: "Magnus Bäck" <magnus.back@sonyericsson.com>
To: Yongqiang Yang <xiaoqiangnk@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: an error when using 'git send-email'
Date: Tue, 22 Feb 2011 19:48:45 +0100 [thread overview]
Message-ID: <20110222184845.GA17440@jpl.local> (raw)
In-Reply-To: <AANLkTinssKFSqjk5ZCqzjZQWU_vFMDewY+3FSfR+_xMb@mail.gmail.com>
On Tuesday, February 22, 2011 at 14:30 CET,
Yongqiang Yang <xiaoqiangnk@gmail.com> wrote:
> On Mon, Feb 21, 2011 at 12:44 AM, Magnus Bäck
> <magnus.back@sonyericsson.com> wrote:
>
> > 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.
>
> Contents in my .gitconfig file are as follows.
> [sendemail]
> smtpencryption = tls
> smtpserver = smtp.gmail.com
> smtpuser = xxxxxxx
> smtpserverport = 587
>
> When I remove the line smtpuser. Git said my config file is not
> correct.
According to your previous email you're running Git 1.5.6.5. That
version doesn't support STARTTLS in send-email, only SSL wrappermode.
Unless Gmail supports the latter on port 465 (which I seriously doubt)
you must either upgrade Git to 1.6.0 or later or have send-email submit
the messages to another SMTP host that can relay the message directly to
the final destination or is capable of STARTTLS-based SMTP and thus able
to connect to Gmail on your behalf. Your Git is ancient so I strongly
suggest the upgrade approach.
--
Magnus Bäck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson
prev parent reply other threads:[~2011-02-22 19:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 11:45 an error when using 'git send-email' Yongqiang Yang
2011-02-18 13:51 ` Matthieu Moy
2011-02-20 12:10 ` Yongqiang Yang
2011-02-20 16:44 ` Magnus Bäck
2011-02-22 13:30 ` Yongqiang Yang
2011-02-22 18:48 ` Magnus Bäck [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=20110222184845.GA17440@jpl.local \
--to=magnus.back@sonyericsson.com \
--cc=git@vger.kernel.org \
--cc=xiaoqiangnk@gmail.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).