Special Offer: Get 25% OFF your first order! Use code: WELCOME25
RETURN TO FORUM

CSF Firewall blocks incoming IMAP/SMTP mail ports after clean setup

POSTED BY: csf_warden ACTIVE_MEMBER POSTED ON: Jun 13, 2026 CATEGORY: GENERAL
I just ran `sudo /usr/bin/booston-core install_csf` and it locked out external mail connections. Customers cannot fetch or send emails. The mail logs show connection refused on ports 993, 465, and 587.
11 Total Upvotes

REPLIES (2)

postfix_expert ACTIVE_MEMBER SOLUTION_ACCEPTED 2026.06.15 10:50
By default, CSF disables ports that are not whitelisted in `/etc/csf/csf.conf`. Open the config file, search for `TCP_IN`, and add `143,993,110,995,25,465,587` to the allowed incoming list, then restart CSF using `csf -r`.
csf_warden ACTIVE_MEMBER [AUTHOR] 2026.06.16 10:50
Adding the mail ports to the TCP list inside csf.conf fixed it. Mail is sync'ing perfectly now.

AUTHENTICATION REQUIRED TO JOIN THIS STREAM.

INITIALIZE LOGIN
Booston Sentinel

👋 Hi there! Have questions about BoostonCP? Chat with us live!

Support Concierge
Sohan Riya Rafsan Jahid Shahariar Islam Rumena

Hi there 👋

How can we help you today? Our specialists and technical architects are standing by.

Send us a message

We typically reply in under a minute

Direct Department Routing
Technical
Server, PHP, Webservers
Billing
Invoices & Renewals
Sales
Plans & Pricing
Migration
1-Click cPanel Transfer
Frequently Asked Questions
How do I install BoostonCP on Ubuntu/Debian?
Can I migrate all cPanel backups without downtime?
How does 1-second Webserver Switcher work?

Booston Support

Support
24/7 Live Support
📷 Drop screenshots here to attach
Support Concierge is typing...

WhatsApp Support

Instant WhatsApp Support

Chat directly with our official technical engineers and sales specialists on WhatsApp.

Start WhatsApp Chat