For the past few days I have been trying to get my emails working, PHP mail is not sending any emails on my new Vultr install, I emailed support and they say:
Hello,
Your port 25 is showing as filtered. Have you been able to enable that port in the firewall.
---[Network]---
Ping X.X.X.X is OK
3 packets transmitted, 3 received, 0% packet loss, time 405ms
rtt min/avg/max/mdev = 0.334/0.353/0.366/0.025 ms
---[Ports]---
20/tcp filtered ftp-data no-response
21/tcp open ftp syn-ack
22/tcp open ssh syn-ack
25/tcp filtered smtp no-response
53/tcp open domain syn-ack
80/tcp open http syn-ack
143/tcp open imap syn-ack
443/tcp open https syn-ack
587/tcp closed submission conn-refused
993/tcp open imaps syn-ack
2083/tcp filtered radsec no-response
2087/tcp filtered eli no-response
3306/tcp open mysql syn-ack
3389/tcp filtered ms-wbt-server no-response
8443/tcp filtered https-alt no-response
10000/tcp filtered snet-sensor-mgmt no-response
So to open a port my understanding is to do:
sudo ufw allow 25
But I am still unable to send emails, this rule was already added it says. Is there something else I can do to open the port? any help is appreciated.
EDIT:
Trying 142.250.150.26...
Connected to alt1.gmail-smtp-in.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP s19-20020a2e98d3000000b002462b3b53basi13636862ljj.113 - gsmtp