Please note that Way to the Web Ltd. (the company behind ConfigServer) has announced it will close permanently on August 31, 2025. However, their free scripts will remain available under the GPLv3 license. For more details, see:
ConfigServer Services Announcement
Introduction
There may be times when you want to keep CSF's "SMTP_BLOCK" setting enabled while allowing certain users to send mail through external mail servers. This article provides the steps to configure CSF for this.
Procedure
- Log in to WHM as the ‘root’ user.
- Navigate to "Home / Plugins / ConfigServer Security & Firewall."
- Click the "csf" tab.
- Click the "Firewall Configuration" button.
- Select "SMTP Settings" from the dropdown menu.
- Scroll down to the "SMTP_ALLOWUSER" setting.
- Add the cPanel user's username in the "SMTP_ALLOWUSER" textbox.
Please note that usernames must be separated by a comma. - Scroll to the bottom of the page.
- Click the "Change" button.
- Click the "Restart csf+lfd" button.
Comments
0 comments
Article is closed for comments.