Droplet setup and configuration

I have iRedMail installed on one droplet pointing to I have a django application installed on another pointing to

I can log into, send and receive emails and everything works great.

When I attempt to send email from my django application, the connection is refused. I presume this is because I have the mail server running on a different droplet( from the django application(

Should I instead install iRedMail on the same droplet as my django application. Is this the recommended solution?

Here is some added bit of information The following command ‘telnet 587’ when in’ terminal works but when in does not work.

As I mentioned previously, the issue seems to be the fact that I have two droplets. Is there a way to connect the droplets?


Submit an 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.

You should be able to specify your mail server as your SMTP backend for the app:

Installing a mailserver locally should not be required.