Report this

What is the reason for this report?

Open smtp, imap and pop3 through iptables

Posted on September 17, 2013

I have zpanel installed on ubuntu and i have set up iptables as DO instructed. I can send emails but not receive, so i believe it is down to a port not being open in iptables.

Can someone please tell me how to open SMTP, POP3 and IMAP in iptables?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Port 25 isn’t open on your droplet – did you install a firewall/do you have an MTA running?

I have been doing research and i think i need to set up MX records? <br>Can someone please tell me how to and what i should put in as mx records for my zpanel ?

Add an A record: <br> <br><pre>Name: mail <br>Hostname/Value: 1.2.3.4 (your droplet’s IP address)</pre> <br>Then add an MX record: <br> <br><pre>Priority: 5 <br>Hostname: mail</pre> <br> <br>Wait a couple of hours until the DNS recrods propagate and try sending an email again.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.