one hint for Mac Mail setting

to enable access to the port setting, disable “Automatically manage connection settings”

see https://support.apple.com/en-gb/guide/mail/cpmlprefacctadv/mac