How to Allow Outbound SMTP in CSF Firewall via WHM/cPanel?

Some users may not be able to send emails after the installation of CSF Firewall application. This problem is more frequent among WordPress users, and by setting the outbound SMTP for CSF Firewall using WHM you can solve it.

To Allow Outbound SMTP in CSF Firewall

1. Log in to your WHM root account.

2. Access Plugins from the menu.

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/08/whm_plugins.png

3. Click on ConfigServer Security & Firewall.

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/08/whm_configserver_security_firewall.png

The CSF application will open.

4. Select the csf tab and click the Firewall Configuration button in the csf- ConfigServer Firewall section.

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/08/whm_configserverwhm_configserver_security_firewall_csf-min.png

The ConfigServer Firewall’s configuration interface will appear.

5. Select the SMTP Settings section and click the Off switch for the SMTP_BLOCK field.

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/09/whm_csf_smtp_block_off.png

6. Scroll to the end and click on the Change button.

It will save the changes you made.

7. Click the Restart csf+lfd button.

https://www.milesweb.in/hosting-faqs/wp-content/uploads/2021/08/whm_restart_csf_ifd.png

It will reboot the CSF application and apply the Changes that you made.

For this reason, the CSF Firewall will no longer block all outgoing SMTP for your WHM/cPanel server.




Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 127