How do i use mail server in digital ocean?

September 7, 2014 1.1k views

I have set up DNS and domain is working fine but I am not able to create mail server.

  • Hello usmana,
    To set up emailing you need an email server software installed on your droplet.
    Here are two guides you can follow to setup emailing on your droplet.
    So depending on your anticipated usage, you can go through these links to learn more about emailing and how to properly setup emailing to fit your needs.
    For more on learning to do things with droplets use the search box or click on the tutorials link at the top to see more tutorials on assorted topics.



    Hope you find these useful.

    by Etel Sverdlov
    This tutorial explains how to install postfix and cyrus with yum, how to configure postfix, how to configure cyrus, how to install mailx, and how to send a test email. Postfix is free open source Mail Transfer Agent which works to route and deliver email.This tutorial should help you set up a mail server on a centos droplet.
  • I have installed WHM and created cpanel for each domain. I created emails using cpanel. I could send emails to any from those emails but can not receive emails from other mailing addresses like gmail or hotmail.

    Delivery to the following recipient failed permanently:
    Technical details of permanent failure:
    Google tried to deliver your message, but it was rejected by the server for the recipient domain by [2a00:1450:4010:c07::1a].
    The error that the other server returned was:
    550-5.1.1 The email account that you tried to reach does not exist. Please try
    550-5.1.1 double-checking the recipient's email address for typos or
    550-5.1.1 unnecessary spaces. Learn more at
    550 5.1.1 pk5si17857602lbb.60 - gsmtp

    Here, is just a example. PS. There is my domain and its working perfectly.

    What will be perfect solution?

1 Answer

Hello, If you are new to all this cloud VPS thing and don't want to get your hands dirty and you are here just to setup a mail server for your company I suggest you to use iRedMail, here is a link to a tutorial for CentOS.

by Bulat Khamitov
If you would like to create your own online e-mail system, you can use iRedMail. In this article we will explain how you can do it on your CentOS 6.5 virtual server.
Have another answer? Share your knowledge.