SMTP port blocked but do not know why, cpanel

Post Reply
dandude
Junior Member
Posts: 2
Joined: 21 Apr 2022, 10:24

SMTP port blocked but do not know why, cpanel

Post by dandude »

Hi!

I have been using csf+lfd under cpanel for ages without any problem (thanks cirpy for the great SW).

Port 2525 is one of my SMTP ports and csf.conf includes it in the following:
"TCP_IN"
"SMTP_PORTS"

My clients started calling me today that they cannot send mail. After checking the problem, I saw (telnet hostname 2525) that the 2525 port was blocked globally from outside. "csf -x" made everything work again, but "csf -e" caused problems again. This is not ISP related...

Any ideas how I can narrow down the problem? How come it is blocked by csf?

Thanks,
Dan
dandude
Junior Member
Posts: 2
Joined: 21 Apr 2022, 10:24

Re: SMTP port blocked but do not know why, cpanel

Post by dandude »

Oh yeah, when csf is enabled, I get this:

iptables -L -n |grep 2525
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 ctstate NEW tcp dpt:2525
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 25,465,587,2525
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 25,465,587,2525 owner GID match 992
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 25,465,587,2525 owner GID match 12
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 25,465,587,2525 owner UID match 1172
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 25,465,587,2525 owner UID match 202
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 25,465,587,2525 owner UID match 0
LOGDROPOUT tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 25,465,587,2525
Post Reply