git/list[1] front-page[2] threads[3] people[4] search[5] about
 

How to get git-send-email use a proxy?

From
Shaoxuan Yuan <shaoxuan.yuan02@gmail.com>
Date
Apr 6, 2022, 14:19 UTC
Message-ID
<CAJyCBOSAekywgzVSf1uGb8s+hY7a7A=0fC5kFhMVpiqS1KEw4w@mail.gmail.com>
Greetings, Git community,

I'm using git-send-email with Git 2.35.1 under system 5.4.72-microsoft-standard-WSL2, x86_64 GNU/Linux.

I am on a system-wide socks5 proxy. Although I set the global .gitconfig to use the socks5 proxy trying to send emails, the connection to the SMTP server seems does not go through the proxy at all.

Other git commands do go through the globally set .gitconfig proxy, git-send-email seems to be an exception.

So I'm wondering if there needs to be a code change in 'git-send-email.perl' to run the connection through a proxy, or I just need to tune the setting to accomplish this?

-- 
Thanks & Regards,
Shaoxuan
Next: brian m. carlson
Message 1 of 5 in “How to get git-send-email use a proxy?”
  1. Shaoxuan YuanApr 6, 2022
  2. brian m. carlsonApr 7, 2022
  3. Shaoxuan YuanApr 8, 2022
  4. Ævar Arnfjörð BjarmasonApr 8, 2022
  5. Shaoxuan YuanApr 8, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.