HowtoForge

How to Add an Email Account in ISPConfig 3.2

ISPConfig is a Hosting Control Panel that can be used to host websites, provide access by FTP and SSH, manage and provide email services, and run a DNS server. ISPConfig supports Debian, CentOS, and Ubuntu operating systems. We covered the steps to add a website in ISPConfig already in a separate guide. Now I will show you step-by-step how to add an email domain and email account in ISPConfig, how to configure spam filtering, and which login details to use in an email client like Thunderbird or Outlook.

Prerequisites

The following prerequisites must be met to follow this guide:

Video

This tutorial is also available as Video on YouTube. Click here: https://www.youtube.com/watch?v=1IdDZ62-1PE to open it on YouTube.

Add Email Domain in ISPConfig

Log into ISPConfig and go to the email module by clicking on the word Email in the menu at the top of the page.

There you click on the green "Add new Domain" button.

This opens the Email domain form:

The most important field to fill in is the Domain field, where you enter the domain name that you want to receive emails for.

Email fields explained:

Now press the green save button to create the email Domain. Alternatively, you can click on the DomainKeys Identified Mail (DKIM) button and configure DKIM signing. DKIM signing is an optional feature and requires it also to set up an additional DNS record to use it, so it's perfectly fine to leave it out now and enable it later if you want to use it.

DKIM Email signing (optional)

Activating DKIM for an email domain is done in two steps: First, you create a DKIM key, then you publish the public key part in DNS as a DKIM record (DKIM Records are specially formatted TXT records). The DKIM key consists of two parts, the private and the public key. They are used to sign and verify emails sent from your server for this domain.

Click on the button DomainKeys Identified Mail (DKIM) on the email domain details page.

This will show the DKIM settings:

Click on the Generate DKIM Private-key button to create a DKIM public and private key pair.

Enable the Enable DKIM checkbox and press the green Save Button at the bottom to Save the DKIM key.

If your ISPConfig Server is also the DNS server of the email domain we just added, then the DKIM key will get added to DNS automatically. If you use an external DNS service, then go back to the email domain settings and copy the DNS record shown in DKIM settings and add it to the DNS zone of your domain. Please note, that the DNS record is shown in the split format, this means that you can see inside the key two pairs of double quotes "". It might be that the DNS service you use does not support split DNS format, so in case you receive an error, remove the two pairs of double quotes from the key.

Add Mailbox in ISPConfig

To add a mailbox (email account), click on Email mailbox in the menu on the left side:

The list of email mailboxes will show up on the screen. There you click on the green Add new mailbox button.

This opens the Mailbox details page.

There are just 3 fields that you must fill out to get a fully working mailbox. The first one is the email field, there you just enter the local part e.g. 'john', and then select the email domain in the select field on the right side of the @ sign. The other fields are the password and repeat password fields. Then press the green save button at the bottom of the page. All other fields are optional and can be left at their defaults.

Email Mailbox fields explained:

After pressing save, the email mailbox will get created. This may take up to 1 minute. The process is finished when the red dot in the upper menu of the ISPConfig GUI is gone.

Configure Email Client

Now as we have created an email account in ISPConfig, how to access it? You can use any email client which supports SMTP and POP3 or IMAP to send and receive emails. For Example Thunderbird, Outlook, Apple Mail, or the email client of your mobile device.

Email Login Details:

How to Add an Email Account in ISPConfig 3.2