# DKIM Signature for Mautic Mails

**URL:** <https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222>\
**Category:** Product Support\
**Created:** [January 13, 2016, 2:01am UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222 "2016-01-13T02:01:23Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![smitione](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@smitione](https://forum.mautic.org/u/smitione)\
**Post date:** [January 13, 2016, 2:01am UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/1 "2016-01-13T02:01:23Z")

</div>

Hi, i have a VPS to send my newsletter with Mautic.  
  
I have CENTOS, PLESK and MAUTIC.  
  
All patch are up to date and OPEN DKIM is properly installed.  
  
All emails sended by my vps are properly signed with DKIM except for those that i send using mautic.  
  
Every email sended using Mautic fails DKIM test.  
  
Here is a report of an email sent by Mautic: [http://www.mail-tester.com/web-7V3VDm](http://www.mail-tester.com/web-7V3VDm) (it fails DMARC Roole because DKIM signature failure)  
  
And here is the same email sended using webmail: [http://www.mail-tester.com/web-G0LsRP](http://www.mail-tester.com/web-G0LsRP) (i have a -0.5 score penalty because a broken link, but DMARC and DKIM are OK and PASS).  
  
Can any one tell me how to enable OPEN DKIM signature in Mautic…?  
  
Is really important for me because if it fails my mails are sent to SPAM folder acording to my SPF roole (i can’t change or relax that roole).  
  
Thanks in advance.  
  
Best Regards  
  
SMITIONE

---

<div class="post-metadata">

**Author:** ![smitione](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@smitione](https://forum.mautic.org/u/smitione)\
**Post date:** [January 13, 2016, 2:01am UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/2 "2016-01-13T02:01:23Z")

</div>

Hi, i have a VPS to send my newsletter with Mautic.  
I have CENTOS, PLESK and MAUTIC.  
All patch are up to date and OPEN DKIM is properly installed.  
All emails sended by my vps are properly signed with DKIM except for those that i send using mautic.  
Every email sended using Mautic fails DKIM test.  
Here is a report of an email sent by Mautic: [http://www.mail-tester.com/web-7V3VDm](http://www.mail-tester.com/web-7V3VDm) (it fails DMARC Roole because DKIM signature failure)  
And here is the same email sended using webmail: [http://www.mail-tester.com/web-G0LsRP](http://www.mail-tester.com/web-G0LsRP) (i have a -0.5 score penalty because a broken link, but DMARC and DKIM are OK and PASS).  
Can any one tell me how to enable OPEN DKIM signature in Mautic…?  
Is really important for me because if it fails my mails are sent to SPAM folder acording to my SPF roole (i can’t change or relax that roole).  
Thanks in advance.  
Best Regards  
SMITIONE

---

<div class="post-metadata">

**Author:** ![smitione](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@smitione](https://forum.mautic.org/u/smitione)\
**Post date:** [January 14, 2016, 2:59am UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/3 "2016-01-14T02:59:30Z")

</div>

Finally i cut fix it…!  
If you use PHP mailer to send you Mautic Emails, thiss will be sended with out DKIM signature, but if you use OTHER as your sendding method and specify your SMTP server, username and password it will be sended with DKIM signature.  
Hope that this information help any one else who need it…!  
Regards to every body.  
SMITIONE

---

<div class="post-metadata">

**Author:** ![CesarDevesa](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@CesarDevesa](https://forum.mautic.org/u/CesarDevesa)\
**Post date:** [May 20, 2016, 3:21pm UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/4 "2016-05-20T15:21:27Z")

</div>

I use SMTP Server (Windows Server 2012), I’ve already configured the DNS with PUBLIC KEY, but where can I put the PRIVATE KEY?

I use DKIM and DomainKeys Wizard:  
[https://www.unlocktheinbox.com/dkimwizard/](https://www.unlocktheinbox.com/dkimwizard/)

Mautic (v1.4.0)

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![CesarDevesa](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@CesarDevesa](https://forum.mautic.org/u/CesarDevesa)\
**Post date:** [May 21, 2016, 2:06am UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/5 "2016-05-21T02:06:27Z")

</div>

MxyzptlkFishStix, thank you very much. This information helped me on the way, but I don’t use MS Exchange, just send emails, like “no-replay@domain .com” with SMTP Server. So I googled some more and found a simple system that added the signature successfully in emails (dkim=pass). Following the tutorial link used by me:

[https://www.emailarchitect.net/domainkeys/kb/dkim\_iis\_smtp.aspx](https://www.emailarchitect.net/domainkeys/kb/dkim_iis_smtp.aspx)

Thanks and great job to all.

---

<div class="post-metadata">

**Author:** ![wpon](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@wpon](https://forum.mautic.org/u/wpon)\
**Post date:** [November 28, 2017, 10:43am UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/6 "2017-11-28T10:43:56Z")

</div>

Hi @smitione, we are facing same problem here, even with “Other SMTP Server” on “Service to send mail through”, DKIM signature is missing.

Can you please share more details how you fixed the problem?

Thanks

---

<div class="post-metadata">

**Author:** ![smitione](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@smitione](https://forum.mautic.org/u/smitione)\
**Post date:** [November 28, 2017, 11:26am UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/7 "2017-11-28T11:26:43Z")

</div>

HI, yes, i can.  
I have fixed the problem using SMTP instead PHP as sending method.  
If you use SMTP method with your SMTP credentials (username and password for that specific email account that you are using to send your mautic emails) the email will be processed as any email sent by you using outlook or any email software and will be signed with your server DKIM configuration (assuming that you have, correctly installed and working, DKIM in to you server).  
if you use PHP, you will have to sign it manually, which is not recommended as you can do it much more easy if you use SMTP.  
Hope the it can help you.  
Best regards  
Smitione

---

<div class="post-metadata">

**Author:** ![wpon](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@wpon](https://forum.mautic.org/u/wpon)\
**Post date:** [November 28, 2017, 2:50pm UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/8 "2017-11-28T14:50:27Z")

</div>

Hi @smitione, I fully understand what you mean, however doesn’t works to us. Let me detail a little more:

If we send a email based in SMTP with a email software like you said, DKIM pass. Is ok, works fine.

In other hand, when we use Mautic SMTP, DKIM signature is missing on email header, so we can’ pass DKIM with emails sent by Mautic.

In my understanding you had success using SMTP on Mautic too…  
I’m wondering if you did something different than just enable SMTP option on Mautic?

Thanks

---

<div class="post-metadata">

**Author:** ![smitione](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@smitione](https://forum.mautic.org/u/smitione)\
**Post date:** [November 28, 2017, 2:57pm UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/9 "2017-11-28T14:57:43Z")

</div>

Hi, no, i did not nothing else beside use SMTP server.  
Did you tryed using in outlook the same account that you use in MAUTIC to check DKIM?  
One thing, account usend in MAUTIC must exist in your server as a regular email account (not as an alias or redirect).  
Please, can you send a test email using MAUTIC to [web-37q4c@mail-tester.com](mailto:web-37q4c@mail-tester.com) so i can check your email status report…?  
Let me know when is sent so i can check it.  
Please confirm  
Regards  
Smitione

---

<div class="post-metadata">

**Author:** ![wpon](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@wpon](https://forum.mautic.org/u/wpon)\
**Post date:** [November 28, 2017, 3:18pm UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/10 "2017-11-28T15:18:34Z")

</div>

Hi @smitione,

Did you tryed using in outlook the same account that you use in MAUTIC to check DKIM?  
Yes, I tried and you can check it here too please:  
[web-vy8mg@mail-tester.com](mailto:web-vy8mg@mail-tester.com)  
DKIM pass: Was sent using SMTP in Gsuit (gmail using SMTP)

Please, can you send a test email using MAUTIC to [web-37q4c@mail-tester.com](mailto:web-37q4c@mail-tester.com) so i can check your email status report…?  
Done, using same SMTP above but now sent using MAUTIC.

thanks

---

<div class="post-metadata">

**Author:** ![smitione](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@smitione](https://forum.mautic.org/u/smitione)\
**Post date:** [November 28, 2017, 3:28pm UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/11 "2017-11-28T15:28:22Z")

</div>

Can you send the same email USING something like outlook or incredimail?  
DON¨T use gmail for it.  
Please confirm  
[http://www.mail-tester.com/web-37q4c](http://www.mail-tester.com/web-37q4c)  
As you said, you are not using DKIM with mautic.

---

<div class="post-metadata">

**Author:** ![wpon](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@wpon](https://forum.mautic.org/u/wpon)\
**Post date:** [November 29, 2017, 10:58am UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/12 "2017-11-29T10:58:48Z")

</div>

I sent a new email to [web-vy8mg@mail-tester.com](mailto:web-vy8mg@mail-tester.com) using SquirrelMail, and DKIM=pass.

Can you please check?

thanks

---

<div class="post-metadata">

**Author:** ![smitione](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@smitione](https://forum.mautic.org/u/smitione)\
**Post date:** [November 29, 2017, 11:07am UTC](https://forum.mautic.org/t/dkim-signature-for-mautic-mails/3222/13 "2017-11-29T11:07:34Z")

</div>

[http://www.mail-tester.com/web-vy8mg](http://www.mail-tester.com/web-vy8mg)  
That mail is perfect, 10/10  
Questions:  
Mautic is running at the same server that your SMTP ?  
Who is your Hosting provider and what hosting plan do you have?  
Also, can you provide me some link to access and admin credentials so i can see and check your mautic config details? (Afer that you can change that password, ofcourse…)
