First thing to check is to contact the upstream to make sure the SMTP port is open.
With some providers (like Vultr), all you have to do is request it via support ticket.
After that, install s-nail (dnf install s-nail), and try a test from the CLI:
echo "Example Message" | s-nail - s "A mail sent using s-nail" person@example.com
If you get the test, the SMTP port is open and everything should work.