Skip to main content

DKIM Configuration

DKIM (DomainKeys Identified Mail) is an email authentication method that digitally signs outgoing emails, allowing receiving mail servers to verify that the message was sent by an authorized sender and has not been modified during transmission.

OvenPress SMTP Suresend includes built-in DKIM support, making it easy to generate and configure DKIM records for your domain.

Why Configure DKIM?​

Without DKIM, email providers may have difficulty verifying the authenticity of your emails, which can lead to messages being delivered to spam folders.

Benefits of DKIM​

  • Improves email deliverability
  • Reduces spam classification
  • Protects against email spoofing
  • Builds sender reputation
  • Supports DMARC authentication
  • Increases trust with Gmail, Outlook, Yahoo, and other email providers
tip

For the best email deliverability, configure SPF, DKIM, and DMARC records together.


Prerequisites​

Before proceeding with DKIM configuration:

  • Install and activate OvenPress SMTP Suresend.
  • Configure and test your SMTP connection.
  • Ensure you have access to your domain DNS settings.
  • Set up a valid custom domain email address (e.g., [email protected]).
  • Verify that the email domain matches the domain where DKIM records will be configured.

Download Plugin​

https://github.com/baseapp/ovenpress_suresend/releases


DKIM Settings​

Step 1: Configure SMTP Settings​

Before enabling DKIM, verify that SMTP is configured correctly.

Navigate to:

WordPress Dashboard
→ OvenPress Plugins → SMTP Suresend → SMTP Settings

Configure the following:

SettingDescription
From EmailEmail address used for sending emails
From NameSender name
Sending OptionSMTP
SMTP HostSMTP server hostname
AuthenticationEnabled
UsernameSMTP username
PasswordSMTP password
EncryptionTLS or SSL
SMTP PortSMTP server port

Example (Zoho Mail):

SMTP Host: smtp.zoho.in
Encryption: TLS
Port: 587

Click Save Changes after completing the configuration.


Step 2: Open DKIM Settings​

Navigate to:

WordPress Dashboard
→ OvenPress Plugins → SMTP Suresend → DKIM Settings

You will see:

  • Enable DKIM option
  • DNS Content field
  • Copy DNS Content button
  • DNS Record Instructions

Step 3: Enable DKIM​

Turn the Enable DKIM option to ON.

Enable DKIM
[ ON ]

Once enabled, OvenPress SMTP Suresend automatically generates a DKIM public key for your domain.


Step 4: Copy the DKIM DNS Record​

The plugin generates a DKIM record similar to:

v=DKIM1; k=rsa; p=MIGfMA0GCS...

Click:

Click To Copy

to copy the generated DNS content.

warning

Do not modify the generated DKIM value. Copy it exactly as provided by the plugin.


Step 5: Add the DKIM Record to DNS​

Log in to your DNS provider.

Examples:

  • Cloudflare
  • Namecheap
  • GoDaddy
  • Hostinger
  • DigitalOcean DNS
  • Route 53

Create a new DNS record using the values shown in the plugin.

DNS Record Configuration​

FieldValue
TypeTXT
Namemail._domainkey
ContentGenerated DNS Content
Proxy StatusDNS Only
TTLAuto

Example:

Type: TXT

Name:
mail._domainkey

Content:
v=DKIM1; k=rsa; p=MIGfMA0GCS...

TTL:
Auto

Cloudflare Example​

If you use Cloudflare:

Navigate to:

Cloudflare Dashboard
→ Select Domain
→ DNS
→ Add Record

Configure:

Type: TXT
Name: mail._domainkey
Content: [Paste DNS Content]
TTL: Auto
Proxy: DNS Only

Save the record.

note

TXT records used for DKIM should always be configured as DNS Only and not proxied.


Step 6: Wait for DNS Propagation

After creating the DNS record, DNS propagation may take some time.

Typical propagation times:

ProviderEstimated Time
Cloudflare1–15 minutes
Namecheap15–60 minutes
GoDaddyUp to 1 hour
Other ProvidersUp to 24 hours

Step 7: Verify DKIM

After DNS propagation:

  1. Return to SMTP Suresend → DKIM Settings

  2. Ensure DKIM remains enabled

  3. Send a test email

    Navigate to:

    SMTP Suresend → SMTP Mail Test

    Send a test email to:

    Gmail
    Outlook
    Yahoo

Verify DKIM in Gmail​

Open the received email.

Click:

Show Original

Look for:

DKIM: PASS

A successful result may look like:

SPF: PASS
DKIM: PASS
DMARC: PASS

This indicates that your email authentication is correctly configured.


Troubleshooting​

DKIM Verification Failed​

Possible causes:

Incorrect DNS Record​

Verify:

Type = TXT
Name = mail._domainkey

and ensure the content matches exactly.


DNS Not Propagated Yet​

Wait for DNS changes to propagate and test again.


Wrong Domain​

The domain used in:

From Email

must match the domain where the DKIM record was added.

Example:

From Email:
[email protected]

DKIM Record:
example.com

Both domains must match.


DNS Record Modified​

Do not:

  • Add extra spaces
  • Remove characters
  • Split the key incorrectly

Copy the DNS content exactly as generated.


Testing Email Delivery​

After DKIM is configured, use the built-in testing tool.

Navigate to:

SMTP Suresend
→ SMTP Mail Test

Send a test email and verify delivery.

The test confirms:

  • SMTP connection
  • Authentication
  • Email delivery
  • DKIM signing

For production websites, configure all three authentication methods:

AuthenticationPurpose
SPFVerifies authorized mail servers
DKIMVerifies email integrity and authenticity
DMARCDefines actions when SPF or DKIM fail

A complete setup should pass:

SPF: PASS
DKIM: PASS
DMARC: PASS

Frequently Asked Questions​

Do I need DKIM if SMTP is already working?​

Yes.

SMTP ensures emails can be sent, while DKIM verifies that the emails are authentic and trustworthy.


Can I use DKIM with Zoho Mail?​

Yes.

OvenPress SMTP Suresend works with Zoho Mail, Google Workspace, Microsoft 365, and most SMTP providers.


Will DKIM improve inbox placement?​

In most cases, yes. Email providers are more likely to trust DKIM-signed emails.


What happens if DKIM is disabled?​

Emails can still be sent, but deliverability may be reduced and messages are more likely to be flagged as spam.