Mautic Community Forums

DKIM Signature for Mautic Mails

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 (it fails DMARC Roole because DKIM signature failure)

And here is the same email sended using webmail: 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

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 (it fails DMARC Roole because DKIM signature failure)
And here is the same email sended using webmail: 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

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

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/

Mautic (v1.4.0)

Thanks in advance.

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

Thanks and great job to all.

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

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

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

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 so i can check your email status report…?
Let me know when is sent so i can check it.
Please confirm
Regards
Smitione

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
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 so i can check your email status report…?
Done, using same SMTP above but now sent using MAUTIC.

thanks

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
As you said, you are not using DKIM with mautic.

I sent a new email to web-vy8mg@mail-tester.com using SquirrelMail, and DKIM=pass.

Can you please check?

thanks

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…)