[ Sending-service guides ]

Authenticate SocketLabs domains with DKIM and custom bounce mapping

Verify sending permission, select the supported signing method, and test how each server maps From domains to DKIM and envelope identities.

By the EmailAuth research team · 7 min read

[ Key points ]

  • Verify sending permission, select the supported signing method, and test how each server maps From domains to DKIM and envelope identities.
  • A default bounce mapping can select an unexpected identity for another brand.
On this page

Inventory domains by server and application

SocketLabs authentication should be reviewed for the server or sub-account that actually sends the message. Start with a list of applications, visible From domains and the SocketLabs configuration each application uses. Include distinct From subdomains, customer brands and fallback routes. One working brand is insufficient evidence for a server that sends on behalf of several organizations.

The provider requires verified sending domains and documents an error when an address is not allowed. It supports ownership verification through an address-confirmation process or eligible DNS authentication features, while noting that account configuration and plan affect application of sending-domain controls. SocketLabs Sending Domains, Adding and Verifying a Sending Domain.

Separate permission to submit from authentication at the receiver. A domain may be allowed to send without the desired customer-domain DKIM or envelope identity being used. Record these as independent checks and obtain the domain owner's permission before authorizing a customer or partner identity.

Choose the DKIM method with the key owner

SocketLabs documents three methods: a customer-supplied TXT key, a provider-generated TXT key, and a provider-managed CNAME. The choice changes who manages the keys and how they are maintained across servers. Its current overview says signing requires a match with the From identity. SocketLabs DKIM overview, the three signing methods.

Record the decision before DNS work begins. For a provider-managed method, identify who can change the signing configuration. For a customer-controlled method, identify the private-key custodian and approved rotation process. A spreadsheet full of keys is not an acceptable ownership record. The worksheet should contain an evidence reference and responsible person, not secret material.

Do not automatically choose the most complex method because it exposes more controls. Prefer the supported approach that meets the organization's requirements and can be maintained by its actual operators. If policy requires a particular key-management arrangement or unusual signing identity, obtain provider confirmation before presenting the configuration as supported.

Configure the selected signing method

For CNAME signing, the official guide describes one delegated DNS record and account-side verification before enabling the feature. The CNAME guide lists dkim._domainkey under the sending domain pointing to dkim._domainkey.email-od.com. Compare that public documented pair with current account instructions; do not overwrite an occupied selector merely because the example matches its name. If the DNS host cannot support the required underscore in the CNAME owner, the guide directs users toward the TXT approach rather than an invented spelling. SocketLabs CNAME signing guide.

Check whether the intended selector owner is already used by another service. A CNAME cannot safely be pasted over an unrelated selector. Request a supported alternative or an approved migration instead. Preserve the existing record, its dependent services and the change decision in the implementation ticket.

The TXT guide distinguishes generating keys in the platform from bringing a key pair. It requires the public key in DNS and verifies that key before saving the relevant settings. The generated-key flow keeps its private component in the account. SocketLabs TXT signing guide.

Use an approved secret-handling workflow if the selected method involves importing private material. Publish only the public key. Record the exact domain and selector and inspect the resulting logical TXT value after any DNS-editor string splitting. The generated-key guide says the public key is no longer available in the portal after successful DNS publication and saving. Preserve the public record and its provenance before closing the setup ticket, without retaining the private key in the review bundle.

Configure the bounce domain as a separate mapping

SocketLabs implements customer-domain SPF through its custom bounce-domain model without requiring an addition to the existing visible-From SPF record. Its guide specifies a CNAME from the selected bounce subdomain to tracking.socketlabs.com. Multiple bounce entries can be configured; unmatched mail uses the selected default or the provider fallback. SocketLabs custom bounce guide, Setup and Multiple Custom Bounce Domains.

Choose an unused name with the DNS administrator and confirm the supported mapping in the actual server. Keep the domain's ordinary inbound-mail configuration intact. A bounce hostname is an application delivery identity and should not be confused with a user's reply mailbox or the website's tracking endpoint.

Record the intended match for every From domain, then record the default behavior. Defaults deserve explicit business review on a multi-brand server: successful delivery can still expose an unexpected brand or provider identity. Do not infer the active mapping from the names in the configuration alone. The emitted Return-Path is the evidence to compare later.

Publish and compare the public records

Export the relevant DNS records before making the approved change. Confirm the authoritative service and the DNS editor's handling of relative names. Inspect each published owner independently, including its CNAME chain or TXT answer. A correct DKIM record does not prove that the bounce name is configured, and a correct bounce record does not prove DKIM signing is active.

SPF is evaluated using the SMTP envelope identity, not simply the visible From. If another service still needs the root domain's SPF policy, preserve it. At any owner where an SPF policy is required, maintain one policy and check the protocol's DNS-querying term limit. RFC 7208, sections 2.4, 4.5 and 4.6.4.

Wait for consistent authoritative and recursive answers where caches are involved. If the provider cannot verify a record, save the issued value and timed DNS observations for support rather than repeatedly changing the name. A DNS-host limitation should be handled through a documented supported method.

Test each exact From domain and bounce match

Send harmless content through each material application and server to controlled external recipients. Preserve time, Message-ID and the provider or application event reference. Test From subdomains separately rather than assuming an entry for the parent domain covers them.

The older CNAME page mentions PRA and Sender in its applicability description, while the current overview and TXT page describe an exact From match. If the application uses a separate Sender header or other unusual identity, obtain clarification and test that exact form. Do not silently translate those differing statements into a universal rule.

At the recipient, record visible From, Return-Path, trusted SPF identity and result, every DKIM d and s, and the DMARC result. DKIM verification uses the domain and selector in the actual signature to locate the public key. RFC 6376, sections 3.5 and 6.1.

Compare each passing identity with the visible From under the applicable alignment mode. A custom bounce subdomain may meet relaxed SPF alignment without meeting strict equality. An aligned passing DKIM signature can independently satisfy DMARC. Neither successful domain verification nor a provider-domain authentication pass is enough to infer the whole result. RFC 9989, Identifier Alignment Explained and DMARC Evaluation.

Diagnose the failing layer

For a sender-not-allowed error, inspect verification and the correct server's domain controls before changing DNS keys. For an unexpected signing domain, compare the exact From with the configured DKIM entry. For an unexpected Return-Path, inspect the bounce match and default. Keep these checks separate so a repair to one does not conceal a problem in another.

If cryptographic verification fails despite correct DNS, investigate changes to signed content or headers along the path. If authentication and alignment pass but inbox placement is poor, investigate the recipient's filtering, reputation and the message's purpose. Authentication does not promise delivery or make every use of an authorized account legitimate.

Record recovery before release

Complete the SocketLabs domain and server worksheet (create a separate review record with the fields described here). Retain a route-by-route matrix of permission, signing method, bounce mapping and received evidence. Identify who can pause the application or restore a previously approved server configuration if testing fails.

Do not delete old public keys or bounce records while queued messages or other servers depend on them. Plan retirement with the application owner and retest after changes to the From domain, server, key method, bounce default or DNS provider.

Fictional diagnostic case involving a default bounce entry

Fictional written case only: SOCK-01 assumes one server sends From news@alpha.example with envelope bounces.alpha.example and a passing SPF result. A second route uses From news@beta.example but falls back to bounces.alpha.example, also with SPF pass. Under relaxed alignment the first stipulated envelope aligns; the second does not. Both DKIM results are unknown, so neither a complete second-message failure nor a successful repair is claimed. The server owner must approve and verify beta’s mapping, then inspect its emitted Return-Path and DKIM. No server, DNS or message test was performed.

Acceptance remains pending

Accept the route when the intended server permits the domain, the selected signing method verifies, each bounce mapping behaves as approved and receiver evidence establishes the required aligned pass. Original-scope acceptance, live tenant and DNS checks, independent technical review, visual review and human SME approval remain pending for this unpublished draft.

Separate a passing message from enforcement readiness

RFC 9989 Section 7.4 requires valid DKIM for a domain publishing p=reject and cautions about indirect-mail interoperability. A single aligned SPF result does not by itself justify a reject-policy rollout. Review all legitimate routes and policy ownership separately from this provider setup.

[ Takeaway ]

A default bounce mapping can select an unexpected identity for another brand.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Verify permission signing and bounce

The three layers need independent configuration and message evidence.

Next steps

  1. Use the selected supported DKIM method.
  2. Inspect exact From matches.
  3. Test every bounce mapping.

CISO / SecOps

Assign key and domain ownership

Provider-managed and customer-controlled keys need different operating controls.

Next steps

  1. Name the private-key custodian.
  2. Review customer-domain authorization.
  3. Keep unusual Sender behavior unresolved until tested.

Founder / Non-technical

Approve every brand mapping

Shared servers can fall back to an unexpected envelope identity.

Next steps

  1. Inventory each application and brand.
  2. Approve default bounce behavior.
  3. Keep a tested recovery route.

[ FAQs ]

Frequently asked questions

Does a verified sending domain prove customer-domain DKIM?

No. Sending permission, DKIM configuration and received-message alignment are separate checks.

Which DKIM methods are documented?

SocketLabs describes customer-supplied TXT, platform-generated TXT and provider-managed CNAME signing.

Should I add SocketLabs to the corporate root SPF policy?

Its current custom bounce model handles SPF at the envelope identity without requiring that root-policy addition.

What happens when no bounce entry matches?

The provider documents use of the chosen default or its fallback domain. Verify the actual server behavior and received Return-Path.

Can I overwrite a selector used by another service?

No. Obtain a supported alternate or an approved migration that protects the existing sender.

Does a parent-domain DKIM test cover every subdomain?

Do not assume it does. Test each exact From domain against the current provider matching behavior.

How should a separate Sender header be handled?

Current and older provider pages use different applicability wording. Confirm the supported behavior and test that exact message form.

When is the implementation ready?

When domain permission, selected DKIM method, bounce mapping and receiver alignment are evidenced for every in-scope route and reviewers approve the result.

[ Sources ]

Sources

  1. Sending Domains

    Sections Adding and Verifying a Sending Domain

  2. Advanced Authentication: DKIM

    Sections Bring your own TXT record · Generate a TXT record · Use a CNAME record

  3. CNAME DKIM Signing Feature

    Sections Use a CNAME record requirements · What is needed in DNS settings

  4. TXT DKIM Signing Feature

    Sections Bring your own TXT record · Generate your own TXT record

  5. Custom Bounce Domains and SPF Authentication

    Sections Custom Bounce Domain Setup · Multiple Custom Bounce Domains

  6. RFC 7208 Sender Policy Framework

    Sections §4.5 Selecting Records · §4.6.4 DNS Lookup Limits

  7. RFC 6376 DomainKeys Identified Mail

    Sections §3.5 · §3.6.1 · §6.1

  8. RFC 9989 Domain-based Message Authentication Reporting and Conformance

    Sections §4.4 · §5.3.5 · §7.4

[ Glossary ]

Glossary

Sending-domain permission
The server or account control allowing mail from an authorized domain.
DKIM method
The selected CNAME or TXT arrangement for publishing and managing signing keys.
Bounce mapping
The selection of an envelope domain for a particular From identity.
Default bounce entry
The fallback envelope configuration used when no specific mapping matches.

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base