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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, February 22, 2011 at 14:30 CET,
     Yongqiang Yang <xiaoqiangnk@xxxxxxxxx> wrote:

> On Mon, Feb 21, 2011 at 12:44 AM, Magnus Bäck
> <magnus.back@xxxxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]