Mail test -- Cannot assign requested address - connect(2)

Correct.
I’ve tested a different mail server this morning with the same error.

It’s possible to connect via telnet from inside the docker container.
telnet mail.4830.org 587
Trying 193.26.120.251...
Connected to mail.4830.org.