From mboxrd@z Thu Jan 1 00:00:00 1970 From: gmate.amit@gmail.com (Amit Mehta) Date: Tue, 13 Mar 2012 23:42:46 +0530 Subject: Error while sending patch using git send-email In-Reply-To: References: <4F5F874C.7030000@gmail.com> Message-ID: <4F5F8E1E.2040005@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tuesday 13 March 2012 11:28 PM, Alexandru Juncu wrote: > On Tue, Mar 13, 2012 at 7:43 PM, Amit Mehta wrote: >> Hi All, >> >> This is not a Linux Kernel related query but is rather on the infrastructure to >> manage patches using git. Before asking here, I did some search on Internet and >> also posted this query in a different Linux forum but no luck so far. Hence >> thought of asking here as someone might have faced this issue, while using the >> git send-email feature. I've installed git-core and git-send-email packages on >> my Ubuntu machine and I'm using git to generate patch. Now I want to send this >> patch, but while doing so, git returns with following error: >> >> "5.7.0 Must issue a STARTTLS command first." >> >> Some information regarding my setup: >> slackjaw at swamp:~/linux-next$ cat /etc/issue >> Ubuntu 11.10 \n \l >> >> slackjaw at swamp:~/linux-next$ cat ~/.gitconfig >> [user] >> name = Amit >> email = >> [sendemail] >> smtpserver = smtp.googlemail.com > > Try adding to the [sendmail] directive: > > smtpserverport = 587 > smtpencryption = tls > > Also, don't know if it matters, but I have : > smtpserver = smtp.gmail.com > Thank you, I added exactly same parameters in my $HOME/.gitconfig file and it worked.