IT Operations
Deploy SPF, DKIM, and DMARC Safely
Authorized mail sources authenticate correctly and fraudulent use of the organization's domains is progressively constrained without blocking legitimate mail.
The process
Work it in this order.
- Inventory every authorized sender, domain and subdomain, return-path, forwarding service, vendor, and owner using DNS, mail logs, procurement records, and DMARC aggregate reports.
- Publish or correct SPF for actual sending infrastructure while avoiding overly broad authorization and DNS-lookup problems.
- Enable DKIM with appropriately managed keys and selectors for each capable sender, then verify signing and alignment.
- Publish DMARC initially in monitoring mode with controlled aggregate-report destinations and use reports to identify legitimate, unknown, and abusive sources.
- Correct alignment and migrate or retire noncompliant legitimate senders; validate changes across representative recipients and forwarding paths.
- Move policy in approved stages from monitoring to quarantine and then rejection where risk and evidence support it, with rollback criteria and active monitoring.
- Maintain sender ownership, rotate DKIM keys, monitor reports and DNS changes, and apply policy to inactive or defensive domains as appropriate.
Bring this
Inputs the cat will ask for.
- Domains and DNS access
- Authorized sender inventory and owners
- Mail telemetry or DMARC reports
- Change window and rollback contacts
Router + one playbook
Route first. Choose one.
Cat Paw loads one playbook per task rather than merging several. Start with this router; the remaining paths are workflow-specific candidates it can inspect.
- Router:
cybersecurity-pack skills/cybersecurity-skills/implementing-dmarc-dkim-spf-email-security/SKILL.mdskills/cybersecurity-skills/performing-dmarc-policy-enforcement-rollout/SKILL.md
Guardrails
The boundaries travel with the prompt.
- Validate SPF, DKIM, and DMARC before enforcement because mistakes can reject legitimate mail.
- Make DNS and mail changes only for domains and tenants the user is authorized to administer.
- Protect aggregate and forensic report data, which can reveal addresses and sending infrastructure.
Done means
A checkable finish.
All authorized senders pass intended authentication and alignment, unauthorized sources are addressed, an approved enforcement policy is active, and ongoing report monitoring has an owner.
Sources
Where this process came from.
- www.cisa.gov/eviction-strategies-tool/info-countermeasures/CM0055
- www.cisa.gov/resources-tools/resources/domain-based-message-authentication-reporting-and-conformance-dmarc
- www.cisa.gov/news-events/directives/bod-18-01-enhance-email-and-web-security
Sources establish the workflow pattern. Reddit and community posts, where present, are treated as practitioner anecdotes rather than universal facts.