Skip to content

Mautic integration

Introduction

Mautic is an open source marketing automation project that drives email campaigns. This page explains how to use Mautic with KumoMTA.

Instructions

Get KumoMTA

Install KumoMTA as per the installation instructions here. Before finishing this step, you should ensure that you have correctly set up DNS with a resolving sending domain, MX, PTR, SPF, DKIM, etc.

Ensure that you can inject and deliver mail through KumoMTA.

Mautic will require an SMTP_Auth authentication connection to inject to KumoMTA, so you will also need to provide KumoMTA with a way to validate credentials. There is an explanation and sample code on this page that will allow you to store valid user credentials in KumoMTA.

Familiarize yourself with the documentation here on SMTP Injection.

Get Mautic

Go to https://mautic.org/ and explore the project and your options; There are many. You can download the production zip or you can checkout the GitHub repo depending on how much you want to customize and contribute.

Follow the install instructions here

KumoMTA accepts messages for delivery with SMTP_Auth Plain authentication. This is the default for Mautic, but you may need to make specific edits based on their Symfony Mailer ingtegration so the DSN looks like smtp://user:pass@smtp.example.com:port. See this for more detail.

If you already have Mautic version 4 or earlier, the next step may be as easy as completing the configuration here

If you have Mautic version 5 or newer, then the above is likely still true, but you may need to configure settings to specify the DSN as described here

If you have done everything right, you should now be able to send messages from Mautic through KumoMTA with SMTP.