<div dir="ltr">Hi Victor,<div><br></div><div>My .gitconfig file is like this:</div><div><br></div><div><div> [user]</div><div> name = Nan Xiao</div><div> email = <a href="mailto:xxxxxx@chinadtrace.org">xxxxxx@chinadtrace.org</a></div><div> [sendemail]</div><div> smtpencryption = ssl</div><div> smtpserver = <a href="http://mail.chinadtrace.org">mail.chinadtrace.org</a></div><div> smtpuser = <a href="mailto:xxxxxx@chinadtrace.org">xxxxxx@chinadtrace.org</a></div><div> smtpserverport = 465</div><div> smtppass = xxxxxxxxxx</div></div><div><br></div><div>And it doesn't work. I think I should config proxy to let smtp route somewhere ...</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Best Regards<div>Nan Xiao</div></div></div></div>
<br><div class="gmail_quote">On Wed, Aug 19, 2015 at 11:02 PM, Victor Rodriguez <span dir="ltr"><<a href="mailto:vm.rod25@gmail.com" target="_blank">vm.rod25@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You need the smtp ... like this :<br>
<br>
[vrodri3@localhost ~]$ cat ~/.gitconfig<br>
[user]<br>
name = Victor<br>
email = <a href="mailto:victor.rodriguez.bahena@intel.com">victor.rodriguez.bahena@intel.com</a><br>
[push]<br>
default = simple<br>
<br>
[sendemail]<br>
from="Victor Rodriguez <<a href="mailto:victor.rodriguez.bahena@intel.com">victor.rodriguez.bahena@intel.com</a>>"<br>
chainreplyto = false<br>
smtpserver = <yopur smtp server><br>
smtpserverport = 25<br>
envelopesender = <a href="mailto:victor.rodriguez.bahena@intel.com">victor.rodriguez.bahena@intel.com</a><br>
<div><div class="h5"><br>
<br>
On Wed, Aug 19, 2015 at 4:41 AM, Nan Xiao <<a href="mailto:xiaonan830818@gmail.com">xiaonan830818@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> My Linux server uses a proxy, but I find the "git send-email" command<br>
> doesn't use the proxy, so<br>
> the mail can't be sent.<br>
><br>
> How can I set a proxy to let "git send-email" command use it?<br>
><br>
> Thanks very much in advance!<br>
><br>
> Best Regards<br>
> Nan Xiao<br>
><br>
</div></div>> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
</blockquote></div><br></div>