exchange-mailflow

Trace Exchange Online messages and validate SPF, DKIM, and DMARC records.

12|4|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/markus41/Claude-m --skill exchange-mailflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: exchange-mailflow
Source: https://github.com/markus41/Claude-m/tree/main/exchange-mailflow/skills/exchange-mailflow
Command: npx skills add https://github.com/markus41/Claude-m --skill exchange-mailflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides comprehensive diagnostics for Exchange Online mail delivery, tracing, and reporting to resolve delivery issues and misrouting quickly.

Core Features & Use Cases

  • Message tracing: trace messages and interpret results to identify where a delivery problem occurred.
  • Transport rules & connectors: audit and validate inbound/outbound rules and connectors that affect mail flow.
  • DNS authentication validation: verify SPF, DKIM, and DMARC records to ensure proper sender authentication.
  • Quarantine & reporting: review quarantined messages and generate client-safe reports via Graph API and Exchange PowerShell.
  • Use Case: when a user reports 'email not received', run a trace, inspect policies and DNS, and deliver a concise remediation plan.

Quick Start

Request a mail-flow diagnostic for a reported delivery issue by tracing a message and validating DNS records.

Frequently Asked Questions about exchange-mailflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace a missing or delayed email in Exchange Online?

Trace missing or delayed Exchange Online email by running message traces with Get-MessageTrace. This diagnostic interprets trace results to pinpoint where delivery failures occur across transport rules and connectors.

How do I validate SPF, DKIM, and DMARC DNS records for mail flow issues?

Validate SPF, DKIM, and DMARC DNS records to ensure proper sender authentication and resolve mail flow issues. This diagnostic checks your DNS configuration to identify authentication failures causing delivery problems in Office 365.

Why is an inbound email stuck in quarantine in Office 365?

An inbound email is stuck in quarantine in Office 365 due to transport rules or spam filter policies. Use Get-QuarantineMessage to review quarantined messages and identify the specific policy triggering the retention.

Can I use Graph API and PowerShell to generate client-safe mail flow reports?

Yes, you can use Graph API and Exchange PowerShell to generate client-safe mail flow reports. This diagnostic leverages endpoints and cmdlets to produce concise remediation plans and reporting outputs without exposing sensitive data.

What is the best way to audit Exchange transport rules and connectors for misrouted email?

The best way to audit transport rules and connectors for misrouted email is to validate inbound and outbound policies end-to-end. This diagnostic audits your Exchange configuration to detect rules causing misrouting.

Does this Exchange Online diagnostic require any specific PowerShell modules or dependencies?

This Exchange Online diagnostic requires no specific external dependencies. It operates using standard Graph API endpoints and Exchange PowerShell cmdlets like Get-MessageTrace to evaluate mail delivery and routing incidents.