#371873 ssmtp: IPv6 numeric addresses don't work

Package:
ssmtp
Source:
ssmtp
Description:
extremely simple MTA to get mail off the system to a mail hub
Submitter:
Adam Borowski
Date:
2026-03-04 20:19:02 UTC
Severity:
normal
Tags:
#371873#5
Date:
2006-06-07 23:56:11 UTC
From:
To:
It's nice to see that the upcoming version enables IPv6 support, however,
the issue of numeric IPv6 addresses is still open.

So, here's a patch.  I used URL-style method of escaping: [1:2::3] -- IMO
it's much cleaner than exim4-style doubling of colons: 1::2::::3 or
replacing them with a random character: 1|2||3.