A few questions about mail servers with nodejs

Posted April 1, 2015 6.1k views
Node.jsNetworkingConfiguration Management


I followed those instructions:

But it gives me a few qeustions.

  1. How do you add email address?
  2. How do you get a website where users can send mails and get them?
  3. What do i need to fill in in my mobile email app to connect with my mail account?

I am using NodeJS

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.

Submit an Answer
2 answers

Postfix is just an MTA and not a full mail server. It allows the sending and routing of email but does not provide POP or IMAP services to retrieve mail or mailbox management. You will want to go with a more robust solution. We have a tutorial on setting up iRedMail which may be a better fit for what you’re looking to do.

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 Ubuntu 12.04 virtual server.
  • I tried this first but it’s impossible because tar doesn’t work

    “tar jxvf iRedMail-0.0.0.tar.bz2 && cd iRedMail-0.9.0”

    Gaves me:
    tar (child): bzip2: Cannot exec: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now

  • To remove postfix and it’s configuration files you can do an:

    apt-get purge postfix

    The error you are getting from tar indicates that bzip2 is not installed on your droplet. You can install it with:

    apt-get update
    apt-get install bzip2
  • Thanks it works but now there is a new problem my iRedmail does always use SSL https and i don’t want to connect a SSL how do you disable that?

While I would recommend using SSL, if you need to disable it there is a thread on the iRedMail forums here that covers how to do this.