I have iRedMail installed on one droplet pointing to mail.domain.com I have a django application installed on another pointing to domain.com
I can log into mail.domain.com, 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(mail.domain.com) from the django application(domain.com)
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 mail.domain.com 587’ when in mail.domain.com’ terminal works but when in domain.com 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?
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!
You should be able to specify your mail server as your SMTP backend for the app:
https://docs.djangoproject.com/en/dev/topics/email/#smtp-backend
Installing a mailserver locally should not be required.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.