Page 1 of 1

I need to open port 587, but I can't

Posted: 31 Jan 2020, 14:48
by eliaspatrickjr
Hello,

I'm using WordOps 3.11.2, and I can't open port 587.

I have a site in Wordpress that uses Contact Form, and when I disable the firewall (csf -f), the contact form works fine. :)

But when I enable firewall, contact form stop working. :confused:

I change the settings in CSF.CONF, but nothing works.

See here: https://community.wordops.net/assets/fi ... onf-01.png

I tried these commands:

sudo iptables -A INPUT -p tcp --dport 587 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
sudo iptables -A OUTPUT -p tcp --sport 587 -m conntrack --ctstate ESTABLISHED -j ACCEPT


And also this one: sudo iptables -A OUTPUT -p tcp --dport 587 -j ACCEPT

Does anyone know what happens?

Regards,

Patrick

Re: I need to open port 587, but I can't

Posted: 31 Jan 2020, 20:03
by hkloo
Make sure you set SMTP_BLOCK=0

Re: I need to open port 587, but I can't

Posted: 31 Jan 2020, 22:50
by eliaspatrickjr
Yes, SMTP_BLOCK = “0” is set in CSF.CONF :(

Re: I need to open port 587, but I can't

Posted: 17 Aug 2020, 18:09
by eliaspatrickjr
Hello,

I have a site with Wordpress, and a contact form here: https://mundodasfigurinhas.com.br/fale-com-a-gente/

When I enable CSF, the contact form stop working.

When I disable CSF, the contact form works fine.

Since January I have this issue... :(

Somebody knows how to put it to work?

I'm using Contact Form 7 plugin on Wordpress.

The SMTP ports are opened in csf.conf:

# Allow incoming TCP ports
TCP_IN = "25,53,80,110,143,443,465,587,993,995"

# Allow outgoing TCP ports
TCP_OUT = "25,53,80,110,113,443,465,587,993,995"

Regards!