How can I set a proxy to let "git send-email" command use it?

Nan Xiao xiaonan830818 at gmail.com
Wed Aug 19 19:45:09 EDT 2015


Hi Victor,

My .gitconfig file is like this:

    [user]
        name = Nan Xiao
        email = xxxxxx at chinadtrace.org
    [sendemail]
        smtpencryption = ssl
        smtpserver = mail.chinadtrace.org
        smtpuser = xxxxxx at 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 at gmail.com>
wrote:

> You need the smtp ... like this :
>
> [vrodri3 at localhost ~]$ cat ~/.gitconfig
> [user]
>     name = Victor
>     email = victor.rodriguez.bahena at intel.com
> [push]
>     default = simple
>
> [sendemail]
>     from="Victor Rodriguez <victor.rodriguez.bahena at intel.com>"
>     chainreplyto = false
>     smtpserver = <yopur smtp server>
>     smtpserverport = 25
>     envelopesender = victor.rodriguez.bahena at intel.com
>
>
> On Wed, Aug 19, 2015 at 4:41 AM, Nan Xiao <xiaonan830818 at 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 at kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150820/92320705/attachment.html 


More information about the Kernelnewbies mailing list