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

git send-email with ancient SMTP server … dh key too small

From
Matěj Cepl <mcepl@cepl.eu>
Date
Aug 9, 2024, 10:17 UTC
Message-ID
<D3BAXOA4NL74.29XYKS0IO8UFC@cepl.eu>

When using git send-email sending to very ancient SMTP server (postfix 2.6.6 on CentOS 6), I get this error:

STARTTLS failed! SSL connect attempt failed error:0A00018A:SSL routines::dh key too small at /usr/libexec/git/git-send-email line 1638.

When looking what seems like a similar error at https://github.com/symfony/symfony/issues/44393 it seems I need to set `security_level` (whatever it is) to 1. Is it possible to do it just with configuration of git or do I need to patch something somewhere?

Thank you for any reply,
Matěj Cepl
-- 
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Opportunity is missed by most people because it is dressed in
overalls and looks like work.
  -- Thomas A. Edison
Next: brian m. carlson
Message 1 of 3 in “git send-email with ancient SMTP server … dh key too small”
  1. Matěj CeplAug 9, 2024
  2. brian m. carlsonAug 9, 2024
  3. Matěj CeplAug 10, 2024

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.