Configure Mailgun for email when using Digital Ocean for DNS

Digital Ocean often blocks outgoing SMTP ports (25, 587), so using port 2525 with Mailgun is a way to ensure that you don’t get caught up if they do decide to block you. I use port 2525 for all of my installs to avoid having to worry about whether they decide to block those ports for a given droplet.

4 Likes