Report this

What is the reason for this report?

How do I setup iRedMail on a separate Ubuntu droplet and where do I point MX records?

Posted on October 21, 2013

I tried installing quite a few times, and ran into a wall everytime.

I am using this guide: https://www.digitalocean.com/community/articles/how-to-install-iredmail-on-ubuntu-12-04-x64

I have a ubuntu droplet with a LAMP stack. I have a domain, let’s say example.com pointing it’s DNS records to that droplet.

I would like to setup iRedMail on a separate ubuntu droplet, and then be able to add emails like this:

me@example.com, you@example.com etc.

During the iRedMail installation, which domain do I specify in this configuration screen? Do I need to create something like mail.example.com? Or can I use example.com?

https://assets.digitalocean.com/articles/community/Ubuntu1210-Cloudmail5.png

Also once the installation is done, what DNS records should I add for the example.com domain so that email would work?



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.

Thanks! <br> <br>The configuration tool returns this: <br> <br>The mail server for mail.example.com accepts mail for mailbox ‘postmaster@mail.example.com’. <br> <br>It also passes everything else. No red flags. <br> <br>I still get this when I try to send email: <br> <br>“SMTP Error (451): Failed to add recipient “someone@email.com” (4.3.5 Server configuration problem).” <br> <br>And any incoming email to the mailbox also does not get received. <br> <br>I tried looking all over the internet, but found no solution to the problem.
<br> <br>Do you know what might be causing that?

<b>“Do I need to create something like mail.example.com?”</b> Yes. <br> <br><b>“Also once the installation is done, what DNS records should I add for the example.com domain so that email would work?”</b> <br> <br>If you’re using DigitalOcean’s <a href=“https://www.digitalocean.com/community/articles/how-to-set-up-a-host-name-with-digitalocean”>DNS Manager</a>, you would need to add the following <b>MX record:</b> <code>1 - mail.example.com.</code> (don’t forget the trailing dot).

Okay, so the droplet reboot fixed the 4.3.5 server configuration error, and sending mail works now. But I cannot receive any mail. Possible reasons?

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.