You need the smtp ... like this : [vrodri3@localhost ~]$ cat ~/.gitconfig [user] name = Victor email = victor.rodriguez.bahena@xxxxxxxxx [push] default = simple [sendemail] from="Victor Rodriguez <victor.rodriguez.bahena@xxxxxxxxx>" chainreplyto = false smtpserver = <yopur smtp server> smtpserverport = 25 envelopesender = victor.rodriguez.bahena@xxxxxxxxx On Wed, Aug 19, 2015 at 4:41 AM, Nan Xiao <xiaonan830818@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies