Port 25 SMTP external access

August 18, 2015 10k views
DigitalOcean System Tools Email Server Optimization Ubuntu

How can I unblock port 25 for external access? Does digitalocean block this port by default?

2 Answers

On some new accounts port 25 may be blocked by default. This block can be lifted as long as your account has no history of abuse by opening a ticket with our support team from the control panel or by emailing support@. They will verify for you whether a block is in place and can remove it if one is present.

Port 25 Direct Injection is the ability to communicate with a mail server directly not using MX records. This happens when access to Port 25 for SMTP traffic is not restricted. Best email security practice is to restrict Port 25 to only accept from trusted IP's.

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0* LISTEN 6427/master

How to set this restriction properly ?

Have another answer? Share your knowledge.