* Error while sending patch using git send-email
@ 2012-03-13 17:43 Amit Mehta
2012-03-13 17:58 ` Alexandru Juncu
2012-03-13 18:05 ` Amit Mehta
0 siblings, 2 replies; 4+ messages in thread
From: Amit Mehta @ 2012-03-13 17:43 UTC (permalink / raw)
To: kernelnewbies
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 = <XYZ@xyz.com>
[sendemail]
smtpserver = smtp.googlemail.com
git command to send patch:
slackjaw at swamp:~/linux-next$ git send-email --to "abc at xyz.com"
0001-Adding-debugging-level-for-printk.patch
The above command returns with error message as mentioned above, whereas my
expectation was that git should ask me to enter my password and then send the
mail to the destination mail id.
I'm able to send and receive mails when I use thunderbird's default settings
(In-fact I 'm sending this mail through Thunderbird) which means that there is
no issue with the port number or the authentication method for the outgoing mails.
-Amit
^ permalink raw reply [flat|nested] 4+ messages in thread
* Error while sending patch using git send-email
2012-03-13 17:43 Error while sending patch using git send-email Amit Mehta
@ 2012-03-13 17:58 ` Alexandru Juncu
2012-03-13 18:12 ` Amit Mehta
2012-03-13 18:05 ` Amit Mehta
1 sibling, 1 reply; 4+ messages in thread
From: Alexandru Juncu @ 2012-03-13 17:58 UTC (permalink / raw)
To: kernelnewbies
On Tue, Mar 13, 2012 at 7:43 PM, Amit Mehta <gmate.amit@gmail.com> 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 = <XYZ@xyz.com>
> [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
>
> git command to send patch:
> slackjaw at swamp:~/linux-next$ git send-email --to "abc at xyz.com"
> 0001-Adding-debugging-level-for-printk.patch
>
> The above command returns with error message as mentioned above, whereas my
> expectation was that git should ask me to enter my password and then send the
> mail to the destination mail id.
>
> I'm able to send and receive mails when I use thunderbird's default settings
> (In-fact I 'm sending this mail through Thunderbird) which means that there is
> no issue with the port number or the authentication method for the outgoing mails.
>
> -Amit
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
--
Alexandru Juncu
ROSEdu
http://rosedu.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Error while sending patch using git send-email
2012-03-13 17:43 Error while sending patch using git send-email Amit Mehta
2012-03-13 17:58 ` Alexandru Juncu
@ 2012-03-13 18:05 ` Amit Mehta
1 sibling, 0 replies; 4+ messages in thread
From: Amit Mehta @ 2012-03-13 18:05 UTC (permalink / raw)
To: kernelnewbies
On Tuesday 13 March 2012 11:13 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."
>
I should have checked for sample .gitconfig file bit more. After updating it
with proper values, git send-email worked. My apologies for being impatient.
-Amit
^ permalink raw reply [flat|nested] 4+ messages in thread
* Error while sending patch using git send-email
2012-03-13 17:58 ` Alexandru Juncu
@ 2012-03-13 18:12 ` Amit Mehta
0 siblings, 0 replies; 4+ messages in thread
From: Amit Mehta @ 2012-03-13 18:12 UTC (permalink / raw)
To: kernelnewbies
On Tuesday 13 March 2012 11:28 PM, Alexandru Juncu wrote:
> On Tue, Mar 13, 2012 at 7:43 PM, Amit Mehta <gmate.amit@gmail.com> 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 = <XYZ@xyz.com>
>> [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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-13 18:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-13 17:43 Error while sending patch using git send-email Amit Mehta
2012-03-13 17:58 ` Alexandru Juncu
2012-03-13 18:12 ` Amit Mehta
2012-03-13 18:05 ` Amit Mehta
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).