How to set up the E-Mail Server Module

Goals

In order to set up the E-Mail Server Module in eBox you want to achieve these goals:

  1. Be able to send and receive messages
  2. Be able to retrieve messages
  3. (Optional) Be able to receive e-mail from the INTERNET

Send/Receive E-Mail Messages using SMTP

In order to be able to send and receive mails from eBox you must follow these steps:

  1. Enable the Network Module, Users and Groups Module and the E-Mail Server Module in Module Status Configuration section. You do this by clicking the box under Status next to the module that you want to enable.
  • Module status configuration
  1. Create a user, called for instance foo via Users -> Add User
  2. Create a virtual domain named domain.com through Mail -> Virtual Domains
  3. Edit user foo to create a mail account called foo@…. To do so, go to Edit User -> Select foo user -> Create E-Mail Account
  • Edit user mail account
  1. Click on Save Changes

Now you may send e-mails from your eBox host.

There are several advanced options up there to configure from Mail->General->Settings such as TLS support with and without authentication.

Retrieve Message using POP3/IMAP

To retrieve messages from the eBox E-Mail Server Module to your local e-mail program you must enable either POP3 or IMAP. You may enable POP3/IMAP support by following these steps:

  1. Enable POP3 to allow POP3 clients to connect this mail server. Go to Mail -> General to do so
  2. Click on Save Changes

Receive E-Mail Messages from External (INTERNET) Domains

In order to receive messages from external domains, your domain.com must be a public domain, your eBoxHostName must have an A record, and you must have a public MX record pointing to your eBox. The public DNS must also have this line for this domain.com:

@    MX   10 eBoxHostName

where:

  • 10 is the preference
  • eBoxHostName is the name for eBox in this domain.com

If your eBox DNS Module is serving public DNS records then in the eBox DNS Module, you may do so by adding a row in DNS -> Mail Exchangers for domain.com -> Add new, then choose eBoxHostName. Otherwise you have to have this done by your Public DNS Service provider.

Attachments