T
T
tokyodead2021-10-20 13:57:10
linux
tokyodead, 2021-10-20 13:57:10

How to open port 465 on CentOS 7 server?

Good afternoon, there is Bitrix, the problem is in inviting employees, sending from the mail does not work, they say to open port 465, I wrote the rules for iptables, but the port is still closed, I checked it with telnet.
BitrixVM is installed on the server.
Tell me how to do it right?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Victor Taran, 2021-10-20
@shambler81

1. Bitirx VM uses msmtpd by default and does not send mail directly, using an external service to send mail.
2. if you have a local mail service, then you need to open the port, but in different versions of vm it can be different depending on the version of vm and centos

iptables -I INPUT -p tcp --dport 465 -m state --state NEW -j ACCEPT
service iptables save
/etc/init.d/iptables restart

or so
For CentOS7
firewall-cmd --zone=public --add-port=465 /tcp   --permanent
service iptables save

iptables -I INPUT -p tcp --dport 465 -j ACCEPT
service iptables save

A
Alexey Dmitriev, 2021-10-20
@SignFinder

Telnet will show you something if you have your own mail server deployed.
If an external server is used, you need to check telnet to an external server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question