Self-hosted mail server

Your email on your server. Your domains, your mailboxes, your rules.

Courelo brings a complete mail server together with its console: receive, filter spam, file into mailboxes, send with a DKIM signature. You manage domains, accounts and aliases from your browser.

encrypted, on all your devices
IMAP · POP3 · SMTP
Docker, all included
1 image
translated console
FR · EN · NL
Received for [email protected]
  1. Connection from mail.sender.comport 25, encryption negotiated
  2. Known recipientaccount [email protected] is active
  3. Block and allow listssender is on neither list
  4. SPF, DKIM and DMARCall three pass
  5. Spam filterscore 1.2: message accepted
Filed in Léa's mailbox, readable on her phone and her computer.

How it works

The path of an email, from top to bottom.

Every message follows the same path, incoming and outgoing. Here is what your server does, step by step.

Incoming

Someone writes to an address on your domain.

  1. 1

    The server receives the message

    The sender finds your server through your domain's MX record and hands the message over on port 25.

  2. 2

    The address is checked

    The message is only accepted for an account, an alias or the domain's catch-all address. An unknown address is rejected straight away.

  3. 3

    Spam is set aside

    Block and allow lists, SPF, DKIM and DMARC checks, then a spam score. A sender on the block list is always rejected.

  4. 4

    The message is filed

    It lands in the recipient's mailbox, within their quota. An alias forwards it to one or more other addresses.

  5. 5

    You read it anywhere

    Your email app, on a computer or a phone, fetches it over IMAP or POP3, always encrypted.

Outgoing

You send an email from your email app.

  1. 1

    You sign in

    Your app connects on port 587 or 465 with your address and password. Without encryption, the connection is refused.

  2. 2

    The sender is checked

    Everyone sends with their own address only. Sending outside requires an account: your server never relays for a stranger.

  3. 3

    The message is signed

    A DKIM signature specific to your domain is added. It proves to the recipient that the message really comes from you.

  4. 4

    It is delivered

    Your server hands it to the recipient's server. If that server does not answer, the message waits in the outgoing queue and is retried later.

Features

All your mail is managed from a single console.

No configuration file to edit by hand: every setting in the console is applied to the server right away.

Domains and DKIM keys

Add a domain: its DKIM key is created and stored encrypted. The console shows the MX, SPF, DKIM and DMARC records to copy to your DNS provider.

Email accounts

One mailbox per person, with a quota, a generated password and an active or suspended state. A send-only address can discard what it receives.

Aliases and forwarding

contact@ forwarding to two mailboxes, or to an outside address.

Catch-all address

Receive in one mailbox the emails sent to an unknown address on the domain, or let them be rejected.

Block and allow lists

Always block or allow an address, a domain, an IP address or a whole range.

Built-in spam filter

Every incoming message is scored by Rspamd, with SPF, DKIM and DMARC checks on the sender.

SPFDKIMDMARC

Encrypted along the whole path

IMAP, POP3 and sending all require encryption. Mailbox passwords are never stored in plain text, only their hash.

TLS 1.2+BLF-CRYPT

One console for several administrators

Roles, two-factor authentication and an audit log: every change is recorded, with its author.

Quarantine, outgoing queue and webmail

Release an email held by mistake, resend a stuck message, and read your email in the browser with the webmail.

Getting started

From installation to the first email in four steps.

  1. 1

    Install

    Run Courelo on a Linux server. On first start, create the administrator account.

  2. 2

    Add your domain

    Copy the MX, SPF, DKIM and DMARC records the console gives you to your DNS provider.

  3. 3

    Create the accounts

    One mailbox per person, then aliases such as contact@ or invoices@.

  4. 4

    Connect your devices

    In your email app, enter the address, the password and the settings below.

Settings for your email app

Valid for every account. The username is the full email address.

UseServerPortSecurity
Incoming (IMAP)mail.example.com993SSL / TLS
Incoming (POP3)mail.example.com995SSL / TLS
Outgoing (SMTP)mail.example.com587STARTTLS
Outgoing (SMTP), alternativemail.example.com465SSL / TLS

Replace mail.example.com with your server's name, the one in the MX record.

Why Courelo

Your email belongs to you, without becoming a full-time job.

A mail server is usually assembled piece by piece, one configuration file at a time. Courelo puts proven building blocks together and lets you drive them simply.

1

Docker image, all included

Receiving, mailboxes, spam filtering and the console come together, already set up to work with each other.

100%

Of your email at home

Messages, accounts and keys stay on your server. No outside service reads or stores your mail.

0

Passwords stored in plain text

Mailbox passwords are kept as a hash, DKIM keys are encrypted, and every connection is encrypted.

FAQ

Answers before you get started.

Another question? Write to us, we answer quickly.

What server do I need?

A Linux server with Docker and a fixed IP address. Outbound port 25 must be open: many hosting providers block it by default and open it on request.

How do I keep my emails out of spam folders?

Create the MX, SPF, DKIM and DMARC records given by the console, and ask your hosting provider to set the reverse DNS (PTR) of the IP address to your server's name. A new IP address builds its reputation over a few weeks of regular sending.

Can spammers use my server as a relay?

No. Sending outside requires an account, its password and an encrypted connection, and everyone sends with their own address only.

Can I manage several domains?

Yes, as many as you like. Each domain has its own DKIM key, accounts, aliases and catch-all address.

Where are my emails stored?

On your server, in Courelo's data volume. Nothing is sent to an outside service.

Is there a webmail?

Yes: Roundcube, at your server's address followed by /webmail, with the account's address and password. Any email app works too, over IMAP, POP3 and SMTP.

Ready to host your own email?

A few minutes to install, then you create your domains and mailboxes from the console.