Email from SMTP not DKIM signed

Hi,

I’m using HestiaCP just as a SMTP server to send emails from my websites hosted on other servers (mainly WordPress websites). The issue is that email sent from external websites using SMTP is not being signed with DKIM.

After HestiaCP installation I only made 2 changes:

1- Setup Mail.Baby as a global external SMTP relay.
2- Disable internal lookup for email:

Then I create a domain email and 1 email account to be used as authentication for external websites as SMTP.

I’m using a WordPress website to test using a SMTP plugin and, on the SMTP host I defined port 587 with TLS and as mail server hostname I tried both with mail.mydomain.com and also my HestiaCP server hostname.

Email is sent ok. SPF shows valid. But DKIM is missing. No DKIM signature is included on email.

My DNS is hosted outside HestiaCP, so I have confirmed with an external tool that the HestiaCP DKIM DNS with selector “mail” is valid. I also confirmed on HestiaCP that DKIM is enable on my domain.

Any idea on how can I solve this issue? Emails sent using SMTP from a external source, should always be signed with DKIM.

Note: Im running Hestia v1.9.2 with Ubuntu 22.04. I only have Dovecot and Exim installed. Did not install any other services like BIND or Apache, since this server is only used as SMTP server.

Thanks!

For better DKIM support, you can try using SMTP servers like SMTPmart or SendGrid.

You need to include the DKIM data into your DNS setup

2 Likes

Im using MailBaby as global SMTP relay in HestiaCP.

DKIM for domain is enabled on HestiaCP panel and I copied/added the DKIM TXT record to my domain DNS.