[ Email sender guides ]

Trend Micro Email Security SPF, DKIM and DMARC setup, step by step

By the EmailAuth research team · 12 min read

On this page

For hosted Trend Micro Email Security, called TrendAI Email Security in current documentation, authorize the correct serving site's outbound servers in the SPF policy for the actual envelope-sender domain. Configure DKIM for each managed sending domain using its generated public TXT record, finish the signing configuration, and allow the post-validation waiting period to complete. Then verify an aligned result in a message received outside your organization. An inbound SPF-checking switch is not outbound authentication. Official SPF setup, outbound DKIM setup.

This is a documentary guide: no customer console, live DNS configuration or delivered test message was inspected or changed.

Scope and prerequisites

Use this procedure for mail actually relayed outbound through the hosted Email Security service. It does not configure every Trend Micro product, an on-premises gateway, or the older Hosted Email Security (HES) workflow. Do not substitute the legacy HES include for a current account's regional value. A different product screen needs its own documentation, even when the company name is the same.

Before changing anything, collect:

  • Administrative access to the correct Email Security tenant, its serving site and managed domain.
  • DNS access to the actual sending and signing domains, including any delegated subzones.
  • The working mail route, existing SPF/DKIM/DMARC records and TTLs, plus a rollback owner.
  • A controlled external recipient and harmless test content for each relevant outbound workflow.

Confirm the domain exists under Domains. Outbound protection is disabled for trials unless enabled through the vendor's supported licensing or support path. In the domain's outbound-server settings, enable protection only with the appropriate source selected: Microsoft 365, Google Workspace or the intended user-defined mail servers. Enabling protection with no outbound servers can stop routed outbound traffic. Do not create a second domain entry merely to add DKIM. Add a domain.

For a Microsoft 365 hybrid deployment, first map cloud mailboxes, on-premises mailboxes and application relays to their final signing system. The EmailAuth guide to verifying the final outbound signer in hybrid mail flow covers that route-mapping task; it is not a replacement for the Trend-specific configuration below.

Complete required domain and server provisioning before cutover. For ownership verification, publish the tenant's verification TXT record and use Verify in the domain's General section. This token is not the SPF policy or DKIM public key. Follow the separate routing instructions for the installed platform and use the relay hostname actually supplied for the account and region. Do not derive it from an SPF hostname. Configure a domain.

Upcoming verification deadline: the vendor's notice, schedules stricter unverified-domain enforcement for 1 January 2027, including outbound-scanning customers. It recommends TXT verification first; its usage table specifies TXT verification only for outbound-only scanning. Do not move inbound MX records just to enable outbound authentication. For inbound service, separately complete the documented inbound-server configuration and cutover. Current domain-verification notice.

1. Identify the exact SPF domain

SPF is evaluated against the SMTP MAIL FROM identity, not automatically the visible From address. Use a controlled received message or mail trace to establish that identity before editing DNS. For example, with visible From alerts@example.com and MAIL FROM bounce@returns.example.com, the SPF owner is returns.example.com. An SPF edit at example.com does not automatically cover it. Return-Path is a useful delivered-message clue, but use the trusted receiver's evaluated identity and route evidence. A null reverse path requires separate interpretation. SPF identity rules.

If the evaluated domain is owned by another service, you cannot fix its authorization by adding an include to your own apex. Establish which system controls the envelope identity. Use aligned DKIM where SPF cannot align; do not invent an unsupported custom Return-Path setting.

2. Merge the serving site's SPF include

Find the current account value under Domains → domain name → Outbound Servers. The official regional mapping reviewed for this guide is:

Serving site SPF include domain
United States spf-us.tmes.trendmicro.com
Germany spf.tmes.trendmicro.eu
Australia spf.tmes-anz.trendmicro.com
Japan spf.tmems-jp.trendmicro.com
Singapore spf.tmes-sg.trendmicro.com
India spf.tmes-in.trendmicro.com
United Arab Emirates spf.tmes-uae.trendmicro.com
United Kingdom spf.tmes-uk.trendmicro.com
Canada spf.tmes-ca.trendmicro.com
South Africa spf.tmes-za.trendmicro.com
Indonesia spf.tmes-id.trendmicro.com

Use the assigned site, not the recipient's location. The vendor recommends replacing the older broad spf.tmes.trendmicro.com reference with the appropriate site-specific one. Confirm the tenant's current value rather than combining every region. Official regional SPF table.

At the exact evaluated owner, edit the existing TXT record beginning v=spf1. Insert the confirmed include: mechanism before its final all mechanism; retain other authorized senders and the established policy. If no SPF policy exists, inventory all senders for that owner before creating one. Do not add a second v=spf1 record. Unrelated TXT verification records can remain.

Evaluate the resulting policy, including nested includes and redirects, against SPF's limit of ten DNS-lookup-causing terms. Multiple includes are not a reason to paste a snapshot of provider IPs: manual SPF flattening can silently go stale when the service changes. For a managed SPF service, make the authorization change through the owner of that policy rather than overwriting its delegation. SPF publication rules, SPF DNS-lookup limits.

After publication, use the SPF Verify action under the domain's Outbound Servers configuration. Separately confirm the upstream mail system routes to the tenant's correct relay. DNS authorization alone does not reroute mail. Domain configuration, outbound steps.

3. Create the domain's DKIM signing configuration

In Outbound Protection → Domain-based Authentication → DomainKeys Identified Mail (DKIM) Signing:

  1. Choose Add, select the managed sender domain and enable DKIM signing.
  2. Select the intended SDID (signing domain identifier). Retain the supplied selector; do not borrow another tenant's.
  3. Choose the signed headers, key length and wait time, then generate the key pair.
  4. Publish the generated DNS TXT record name and DNS TXT record value exactly at the authoritative DNS host. Publish only the public key.
  5. Review advanced settings, including canonicalization, expiration, body-length coverage, AUID and oversigning. Complete the configuration with Add.

There are two separate optional signing cases: for an empty envelope sender, the service attempts to find the domain from header From; for header-sender signing, both envelope and header addresses must belong to the account. Enable only the cases your route needs and test each separately. Complete vendor DKIM procedure.

Protect the DNS name and signature coverage

The generated record is TXT, not a universal CNAME. A DNS host may expect a relative name and automatically append the zone: confirm the resulting full name rather than accidentally publishing selector._domainkey.example.com.example.com. A long public key may use multiple quoted strings within one TXT record, not separate keys at the same owner.

For example, suppose the issued full owner were generated-selector._domainkey.mail.example.com. In a DNS interface that appends the current zone, enter generated-selector._domainkey.mail when editing the parent zone example.com; enter generated-selector._domainkey when editing an authoritative delegated zone mail.example.com. These are illustrative names, not a selector to publish. If the interface expects a full hostname instead, enter the complete issued owner. The console-generated name and your actual DNS authority govern.

Do not overwrite another sender's selector. If an existing CNAME occupies that name, it cannot also hold an ordinary TXT record. Establish who owns the alias or delegated subzone before changing it. Do not flatten a verification CNAME into address records or repoint DNS delegation as a shortcut. Neither is a substitute for a DKIM public-key answer. DNS alias rules.

For full-body protection, the documented Unlimited body-length setting covers the entire body. Review the signed-header list and oversigning with the mail-security owner. From must be signed. A body-length restriction can leave appended material outside the signature; relaxed canonicalization tolerates specified formatting changes, not arbitrary message edits. Do not weaken coverage merely to turn a failure green. DKIM signing and body-length rules.

Wait for validation, then activation

The provider must first retrieve and validate the public key. Its support article documents a configurable 24–96-hour wait after successful DNS validation, not after you clicked Save at the DNS host. Check DNS Record Status and the configured wait period. A record ready for signing does not yet prove that a delivered message was signed. Signing wait-time guidance.

For rotation, edit the existing domain's signing configuration and save it. Publish the replacement public key and retain the old verification record until the new key takes effect. Do not regenerate keys repeatedly to fix a cache delay. Also consider previously signed messages still in transit before retiring an old selector, unless incident response requires revocation. Edit DKIM signing settings.

4. Validate public DNS at the right owners

These are read-only command templates. Replace every value with the actual domain, generated selector and authoritative nameserver; the example domains are not deployment values.

dig +short TXT returns.example.com
dig +short TXT selector-from-console._domainkey.example.com
dig +short CNAME selector-from-console._domainkey.example.com
dig +short TXT _dmarc.example.com
dig @authoritative-ns.example.net returns.example.com TXT +noall +answer
dig @authoritative-ns.example.net selector-from-console._domainkey.example.com TXT +noall +answer

For SPF, expect one policy at the evaluated owner with all required authorizations. For DKIM, reconstruct the complete logical TXT value and compare it with the console's public key. No CNAME is expected for a direct TXT setup; an existing alias needs investigation, not deletion. If your established design intentionally delegates key hosting, follow that chain and validate the final TXT answer with its owner.

For a subdomain From, inspect its _dmarc owner and the applicable inherited policy, not only the apex. Compare authoritative answers with recursive-resolver answers after cache expiry. Negative caching can also delay discovery. A lookup alone does not verify a signature or prove a message used the expected route.

5. Verify real messages and DMARC alignment

After activation, have an authorized operator send a harmless message through the actual outbound workflow to a controlled external mailbox. Save its full raw headers, UTC time, sending application and route. Use Authentication-Results from the receiving system you trust, not a sender-inserted field that merely says pass. Check that the authenticating server is inside the receiver's trusted boundary. Authentication-Results trust model.

Record these observations:

Observation Acceptance question
Visible From domain Is this the intended author identity?
Receiver-evaluated MAIL FROM and connecting IP Did SPF pass for the actual envelope domain and final egress?
Every DKIM d= and s= pair Does the intended branded signing domain and generated selector receive dkim=pass, with that domain aligned to From?
Receiver's SPF, DKIM and DMARC results Is dmarc=pass present, with intended aligned DKIM passing independently of any SPF-only success?
Headers/body after all processing Did encryption, footers or another gateway change signed material?

DMARC passes when either SPF passes with an aligned MAIL FROM domain or a verified DKIM signature has an aligned d= domain. Strict alignment requires exact domain equality; relaxed alignment uses the applicable organizational-domain relationship. A provider-owned signing domain can pass DKIM without aligning with your From. One passing aligned signature can satisfy DMARC even if a separate signature fails. Preserve the existing DMARC policy and reporting destinations; do not downgrade enforcement to troubleshoot one sender. Current DMARC specification.

Completion gate for this signing change: for every enabled route, require the intended branded d= domain and configured s= selector to produce dkim=pass, confirm that signing domain aligns with visible From, and require dmarc=pass at the trusted receiver. An aligned SPF pass can satisfy the DMARC protocol while DKIM is broken, so SPF-only DMARC success does not complete this DKIM setup.

Record SPF independently. A documented spf=pass for a nonaligned envelope domain can be consistent with a route that relies on aligned DKIM. It is not equivalent to fail, softfail, none, permerror or temperror. Diagnose those non-pass results and record unresolved SPF issues rather than calling the route fully authenticated merely because DKIM rescued DMARC.

Test ordinary and exceptional routes separately

  • Ordinary message: record the actual envelope and signing identities.
  • Empty reverse path: use an authorized auto-response or controlled simulation, not a fabricated bounce to an uninvolved recipient. SPF derives a MAIL FROM identity using postmaster and the HELO domain for this case; evaluate that domain rather than assuming the ordinary envelope result applies.
  • Different header and envelope domains: verify that the account owns both and that the intended optional signing behavior occurs.
  • Encrypted or modified message: test the final received content. Trend explicitly warns that its outbound encryption action can change the body and cause downstream DKIM failure. Do not disable required encryption to conceal the problem. Encryption caveat.

Keep untested flows marked unverified. Authentication success is not a promise of inbox placement.

Troubleshooting

Symptom Investigate before changing DNS again
No outbound mail after enabling protection Check the permitted outbound source selection and actual connector route; an empty outbound-server configuration can block mail.
spf=fail or softfail Compare the final connecting IP and exact MAIL FROM owner with the authorized sending route and regional include. fail and softfail are non-pass policy outcomes, not alignment-only problems. Do not authorize an unrelated inbound gateway just because it appears in headers.
spf=none Confirm that you queried the receiver-evaluated owner and that it has an applicable SPF policy; inspect missing or invalid identities before editing the apex.
spf=permerror Check for multiple SPF policies, syntax errors and more than ten DNS-lookup-causing terms across nested evaluation. Correct the specific cause while retaining active senders.
spf=temperror Investigate DNS timeouts, SERVFAIL and authoritative-server availability, then retry after resolution. Do not treat a transient lookup error as a reason to add another SPF record or flatten the policy.
DKIM record visible but no signature Check domain selection, enabled state, final Add/Save, DNS Record Status and the post-validation timer.
Public key cannot be found Check authoritative zone, duplicated suffix, wrong selector, TXT-string splitting and a conflicting alias.
DKIM passes but DMARC fails Compare passing d= and MAIL FROM domains to visible From under the published alignment mode.
Only encrypted mail fails DKIM Compare the signed body with the encryption route; retain confidentiality controls and escalate the signing-order issue.
Failure follows key rotation Check both key generations, their DNS availability and actual s= on newly delivered messages.

SPF status meanings and lookup-error limits follow RFC 7208 results and section 4.6.4. An SPF pass with alignment failure needs identity correction, not the same remedy as an invalid policy or a DNS outage.

If the change causes a regression, pause the affected cutover, compare the saved configuration and reverse only the implicated change after checking other senders. Re-test after caches expire. Do not delete unrelated SPF terms or remove a working old selector just to simplify the screen.

[ FAQs ]

Frequently asked questions

Can I use the same DKIM record for every managed domain?

Do not assume so. Use each configuration's generated owner and public key, and verify the corresponding d= and s= in actual messages. Adding a second domain to a tenant does not establish its signing coverage.

Does SPF passing mean DMARC passes?

Only if the authenticated MAIL FROM domain also aligns with visible From. Otherwise, an aligned passing DKIM signature is needed. Check identities, not just separate green SPF and DKIM indicators.

Is setup complete when the console verifies DNS?

No. Acceptance requires correct public DNS, the intended active provider configuration and a real received-message result for each route you depend on. Keep broader DMARC enforcement decisions separate until the domain's other legitimate senders are also understood.

[ Sources ]

Sources

  1. outbound DKIM setup
  2. Official SPF setup
  3. Add a domain
  4. Configure a domain
  5. Current domain-verification notice
  6. Signing wait-time guidance
  7. Edit DKIM signing settings
  8. Encryption caveat
  9. docs.trendmicro.com
  10. rfc-editor.org
  11. rfc-editor.org
  12. rfc-editor.org
  13. rfc-editor.org
  14. rfc-editor.org

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