Skip to main content


Work in progress

The following tutorial is not yet complete.

Let's setup our own vSMTP infrastructure and create a MUA server.

Goal of this tutorial

vSMTP is based on the micro-services architecture, and a good way to configure your server is by declaring your services via a docker-compose file.

In this tutorial, we will:

  • Configure a MUA infrastructure using docker compose.
  • Filter emails.
  • Verify DKIM signatures.
  • Setup authentication MySQL user database. (Optional)

The resulting infrastructure will be a great fit for a MUA (Mail User Agent), which delivers emails from the internet to a local database.

Here is a schema of the entire infrastructure that will be achieved at the end of this tutorial.


Before starting this tutorial, make sure that you have installed vSMTP images in the Installation chapter.