Chapter 14. Configuring firewall for sending and receiving emails
Configure the firewall for sending and receiving emails using the following steps:
To add the service
# firewall-cmd --permanent --add-service=servicename
Replace the servicename with any of the services in the
/etc/services. For example, smtp, submission.
Reload the service for the change to take effect
# systemctl reload firewalld