you can check with
sudo lsof -i tcp:465
i found this, the same error code but for web browsing, so slightly unrelated but maybe it can help you in your search
you can check with
sudo lsof -i tcp:465
i found this, the same error code but for web browsing, so slightly unrelated but maybe it can help you in your search