> For the complete documentation index, see [llms.txt](https://docs.emaildelivery.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emaildelivery.com/docs/velocity-mta-basics/configure-dkim.md).

# Configure DKIM

{% hint style="warning" %}
**Don't skip this step!**\
It's not uncommon for mailbox providers to block or spam folder unauthenticated mail.&#x20;
{% endhint %}

{% hint style="info" %}
Before you send your first email, you need to add DKIM authentication to your DNS records&#x20;
{% endhint %}

Go to MTA -> Velocity MTA Servers -> DKIM tab in the backend site navigation

<div align="left"><figure><img src="/files/oTkTOwAKGtkByEMSXd77" alt="" width="250"><figcaption></figcaption></figure></div>

Click configure domains

<figure><img src="/files/4A7edgsqc0PgW4UFhxxX" alt=""><figcaption></figcaption></figure>

Add domains or subdomains and a DKIM selector&#x20;

<figure><img src="/files/DyvFrxEdCjq1UVV3MeIS" alt=""><figcaption></figcaption></figure>

You'll need to copy and paste the newly created TXT record entries into your DNS hosting provider&#x20;

<figure><img src="/files/Gz21j4IVZZSBAGXjXNZV" alt=""><figcaption></figcaption></figure>

In our example, we'll use Cloudflare as our DNS manager, which we strongly recommend.&#x20;

{% hint style="info" %}
**Cloudflare rocks**

Cloudflare acts as your DNS nameserver, reverse web proxy, web application firewall, SSL provider, incoming MX record mail processor, and much more
{% endhint %}

Create a new TXT record for your domain or subdomain

<figure><img src="/files/sLOFKdrbTmkN2qtS5nLL" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/yGVqmI8QwgoYxgHrmeiF" alt=""><figcaption></figcaption></figure>

Paste your selector and public key from the Velocity MTA DKIM page&#x20;

<figure><img src="/files/rAkMt01lqNCoIx0QeqkQ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4GgZc9vVYpusTIci8i95" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
You're done
{% endhint %}

{% hint style="warning" %}
**Trust but verify**

When you send yourself a test message to Gmail, you can verify DKIM is working by clicking the three dots then **show original**
{% endhint %}

<div align="left"><figure><img src="/files/TLm3rpuICvunmqPD2A5r" alt="" width="313"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/V9N3WHMWUxBmhL8GZRvY" alt="" width="329"><figcaption></figcaption></figure></div>

<figure><img src="/files/W0Q9MmRzw9oak3pbD3QT" alt=""><figcaption></figcaption></figure>
