How can I set a proxy to let "git send-email" command use it?
Hi all, My Linux server uses a proxy, but I find the "git send-email" command doesn't use the proxy, so the mail can't be sent. How can I set a proxy to let "git send-email" command use it? Thanks very much in advance! Best Regards Nan Xiao
You need the smtp ... like this : [vrodri3@localhost ~]$ cat ~/.gitconfig [user] name = Victor email = victor.rodriguez.bahena@intel.com [push] default = simple [sendemail] from="Victor Rodriguez <victor.rodriguez.bahena@intel.com>" chainreplyto = false smtpserver = <yopur smtp server> smtpserverport = 25 envelopesender = victor.rodriguez.bahena@intel.com On Wed, Aug 19, 2015 at 4:41 AM, Nan Xiao <xiaonan830818@gmail.com> wrote:
Hi all,
My Linux server uses a proxy, but I find the "git send-email" command doesn't use the proxy, so the mail can't be sent.
How can I set a proxy to let "git send-email" command use it?
Thanks very much in advance!
Best Regards Nan Xiao
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Victor, My .gitconfig file is like this: [user] name = Nan Xiao email = xxxxxx@chinadtrace.org [sendemail] smtpencryption = ssl smtpserver = mail.chinadtrace.org smtpuser = xxxxxx@chinadtrace.org smtpserverport = 465 smtppass = xxxxxxxxxx And it doesn't work. I think I should config proxy to let smtp route somewhere ... Best Regards Nan Xiao On Wed, Aug 19, 2015 at 11:02 PM, Victor Rodriguez <vm.rod25@gmail.com> wrote:
You need the smtp ... like this :
[vrodri3@localhost ~]$ cat ~/.gitconfig [user] name = Victor email = victor.rodriguez.bahena@intel.com [push] default = simple
[sendemail] from="Victor Rodriguez <victor.rodriguez.bahena@intel.com>" chainreplyto = false smtpserver = <yopur smtp server> smtpserverport = 25 envelopesender = victor.rodriguez.bahena@intel.com
On Wed, Aug 19, 2015 at 4:41 AM, Nan Xiao <xiaonan830818@gmail.com> wrote:
Hi all,
My Linux server uses a proxy, but I find the "git send-email" command doesn't use the proxy, so the mail can't be sent.
How can I set a proxy to let "git send-email" command use it?
Thanks very much in advance!
Best Regards Nan Xiao
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Maybe you can install mutt to test proxy. Right is the smtpserverport? Sent from Mail Master On 2015-08-20 07:45 , Nan Xiao Wrote: Hi Victor, My .gitconfig file is like this: [user] name = Nan Xiao email = xxxxxx@chinadtrace.org [sendemail] smtpencryption = ssl smtpserver = mail.chinadtrace.org smtpuser = xxxxxx@chinadtrace.org smtpserverport = 465 smtppass = xxxxxxxxxx And it doesn't work. I think I should config proxy to let smtp route somewhere ... Best Regards Nan Xiao On Wed, Aug 19, 2015 at 11:02 PM, Victor Rodriguez <vm.rod25@gmail.com> wrote: You need the smtp ... like this : [vrodri3@localhost ~]$ cat ~/.gitconfig [user] name = Victor email = victor.rodriguez.bahena@intel.com [push] default = simple [sendemail] from="Victor Rodriguez <victor.rodriguez.bahena@intel.com>" chainreplyto = false smtpserver = <yopur smtp server> smtpserverport = 25 envelopesender = victor.rodriguez.bahena@intel.com On Wed, Aug 19, 2015 at 4:41 AM, Nan Xiao <xiaonan830818@gmail.com> wrote:
Hi all,
My Linux server uses a proxy, but I find the "git send-email" command doesn't use the proxy, so the mail can't be sent.
How can I set a proxy to let "git send-email" command use it?
Thanks very much in advance!
Best Regards Nan Xiao
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Bo, 465 is the smtp port which uses ssl protocol. Thanks! Best Regards Nan Xiao On Thu, Aug 20, 2015 at 8:26 AM, YU Bo <yuzibode@126.com> wrote:
Maybe you can install mutt to test proxy. Right is the smtpserverport?
Sent from Mail Master
On 2015-08-20 07:45 , Nan Xiao <xiaonan830818@gmail.com> Wrote:
Hi Victor,
My .gitconfig file is like this:
[user] name = Nan Xiao email = xxxxxx@chinadtrace.org [sendemail] smtpencryption = ssl smtpserver = mail.chinadtrace.org smtpuser = xxxxxx@chinadtrace.org smtpserverport = 465 smtppass = xxxxxxxxxx
And it doesn't work. I think I should config proxy to let smtp route somewhere ...
Best Regards Nan Xiao
On Wed, Aug 19, 2015 at 11:02 PM, Victor Rodriguez <vm.rod25@gmail.com> wrote:
You need the smtp ... like this :
[vrodri3@localhost ~]$ cat ~/.gitconfig [user] name = Victor email = victor.rodriguez.bahena@intel.com [push] default = simple
[sendemail] from="Victor Rodriguez <victor.rodriguez.bahena@intel.com>" chainreplyto = false smtpserver = <yopur smtp server> smtpserverport = 25 envelopesender = victor.rodriguez.bahena@intel.com
On Wed, Aug 19, 2015 at 4:41 AM, Nan Xiao <xiaonan830818@gmail.com> wrote:
Hi all,
My Linux server uses a proxy, but I find the "git send-email" command doesn't use the proxy, so the mail can't be sent.
How can I set a proxy to let "git send-email" command use it?
Thanks very much in advance!
Best Regards Nan Xiao
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Sudip, Yes, I have set up the environment variables. Best Regards Nan Xiao On Fri, Aug 21, 2015 at 8:47 PM, Sudip Mukherjee <sudipm.mukherjee@gmail.com> wrote:
How can I set a proxy to let "git send-email" command use it?
Have you tried after setting up the environment variables http_proxy and https_proxy ?
regards sudip
participants (4)
-
Nan Xiao -
Sudip Mukherjee -
Victor Rodriguez -
YU Bo