deliverability-checker

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Email Deliverability Checker

邮件送达率检查工具

Diagnose email deliverability issues by checking SPF, DKIM, DMARC, and other DNS records - fix why your emails land in spam.
通过检查SPF、DKIM、DMARC及其他DNS记录诊断邮件送达问题——解决邮件进入垃圾邮件文件夹的原因。

When to Use This Skill

何时使用该工具

  • Delivery troubleshooting - Emails landing in spam
  • New domain setup - Configure email authentication
  • Migration audit - Verify email config after domain change
  • Client onboarding - Check client email health
  • Compliance check - Ensure proper authentication
  • 送达问题排查 - 邮件进入垃圾邮件文件夹
  • 新域名搭建 - 配置邮件认证
  • 迁移审核 - 域名变更后验证邮件配置
  • 客户接入 - 检查客户邮件健康状况
  • 合规检查 - 确保认证合规

What Claude Does vs What You Decide

Claude的职责 vs 你的决策

Claude DoesYou Decide
Structures analysis frameworksMetric definitions
Identifies patterns in dataBusiness interpretation
Creates visualization templatesDashboard design
Suggests optimization areasAction priorities
Calculates statistical measuresDecision thresholds
Claude负责由你决定
构建分析框架指标定义
识别数据模式业务解读
创建可视化模板仪表盘设计
提出优化方向行动优先级
计算统计指标决策阈值

Dependencies

依赖项

bash
pip install dnspython click
bash
pip install dnspython click

Commands

命令

Full Audit

完整审核

bash
python scripts/main.py audit example.com
python scripts/main.py audit example.com --output report.html
bash
python scripts/main.py audit example.com
python scripts/main.py audit example.com --output report.html

Check SPF

检查SPF

bash
python scripts/main.py spf example.com
bash
python scripts/main.py spf example.com

Check DKIM

检查DKIM

bash
python scripts/main.py dkim example.com --selector google
python scripts/main.py dkim example.com --selector default
bash
python scripts/main.py dkim example.com --selector google
python scripts/main.py dkim example.com --selector default

Check DMARC

检查DMARC

bash
python scripts/main.py dmarc example.com
bash
python scripts/main.py dmarc example.com

Check MX Records

检查MX记录

bash
python scripts/main.py mx example.com
bash
python scripts/main.py mx example.com

Examples

示例

Example 1: Full Email Audit

示例1:完整邮件审核

bash
python scripts/main.py audit acme-corp.com
bash
python scripts/main.py audit acme-corp.com

Output:

输出:

Email Deliverability Audit: acme-corp.com

邮件送达率审核: acme-corp.com

──────────────────────────────────────────

──────────────────────────────────────────

MX Records: ✓ Found (Google Workspace)

MX记录: ✓ 已找到 (Google Workspace)

SPF: ✓ Valid

SPF: ✓ 有效

DKIM (google): ✓ Valid

DKIM (google): ✓ 有效

DMARC: ✗ Missing (CRITICAL)

DMARC: ✗ 缺失 (严重)

Score: 75/100

评分: 75/100

Issues Found:

发现的问题:

1. [CRITICAL] No DMARC record found

1. [严重] 未找到DMARC记录

Fix: Add TXT record for _dmarc.acme-corp.com

修复方案: 为_dmarc.acme-corp.com添加TXT记录

Value: v=DMARC1; p=none; rua=mailto:dmarc@acme-corp.com

值: v=DMARC1; p=none; rua=mailto:dmarc@acme-corp.com

undefined
undefined

Example 2: Diagnose SPF Issues

示例2:诊断SPF问题

bash
python scripts/main.py spf newsletter-sender.com
bash
python scripts/main.py spf newsletter-sender.com

Output:

输出:

SPF Analysis: newsletter-sender.com

SPF分析: newsletter-sender.com

────────────────────────────────────

────────────────────────────────────

Record: v=spf1 include:_spf.google.com include:sendgrid.net ~all

记录: v=spf1 include:_spf.google.com include:sendgrid.net ~all

Status: ✓ Valid

状态: ✓ 有效

Authorized Senders:

授权发送方:

- Google Workspace (include:_spf.google.com)

- Google Workspace (include:_spf.google.com)

- SendGrid (include:sendgrid.net)

- SendGrid (include:sendgrid.net)

Policy: ~all (soft fail)

策略: ~all (软失败)

Warning: Consider changing to -all (hard fail) for better security

警告: 建议改为-all (硬失败)以提升安全性

undefined
undefined

Email Authentication Records

邮件认证记录

RecordPurposeLocation
SPFAuthorize sending servers
TXT
on root domain
DKIMCryptographic signature
TXT
on
selector._domainkey
DMARCPolicy and reporting
TXT
on
_dmarc
subdomain
MXMail delivery servers
MX
on root domain
记录类型用途位置
SPF授权发送服务器根域名下的
TXT
记录
DKIM加密签名
selector._domainkey
下的
TXT
记录
DMARC策略与报告
_dmarc
子域名下的
TXT
记录
MX邮件送达服务器根域名下的
MX
记录

Common SPF Includes

常见SPF包含项

ProviderSPF Include
Google Workspace
include:_spf.google.com
Microsoft 365
include:spf.protection.outlook.com
SendGrid
include:sendgrid.net
Mailchimp
include:servers.mcsv.net
Amazon SES
include:amazonses.com
服务商SPF包含值
Google Workspace
include:_spf.google.com
Microsoft 365
include:spf.protection.outlook.com
SendGrid
include:sendgrid.net
Mailchimp
include:servers.mcsv.net
Amazon SES
include:amazonses.com

DKIM Selectors by Provider

各服务商的DKIM选择器

ProviderCommon Selector
Google Workspace
google
Microsoft 365
selector1
,
selector2
SendGrid
s1
,
s2
Mailchimp
k1
服务商常见选择器
Google Workspace
google
Microsoft 365
selector1
,
selector2
SendGrid
s1
,
s2
Mailchimp
k1

Deliverability Score Factors

送达率评分因素

FactorWeightImpact
Valid MX20%Can't receive replies
Valid SPF25%Server authorization
Valid DKIM25%Message integrity
Valid DMARC30%Policy enforcement
因素权重影响
MX记录有效20%无法接收回复
SPF有效25%服务器授权
DKIM有效25%邮件完整性
DMARC有效30%策略执行

Skill Boundaries

工具能力边界

What This Skill Does Well

该工具擅长的场景

  • Structuring data analysis
  • Identifying patterns and trends
  • Creating visualization frameworks
  • Calculating statistical measures
  • 构建数据分析结构
  • 识别模式与趋势
  • 创建可视化框架
  • 计算统计指标

What This Skill Cannot Do

该工具无法完成的事项

  • Access your actual data
  • Replace statistical expertise
  • Make business decisions
  • Guarantee prediction accuracy
  • 访问你的实际数据
  • 替代统计专业知识
  • 做出业务决策
  • 保证预测准确性

Related Skills

相关工具

  • dns-audit - Full DNS health check
  • dns-audit - 完整DNS健康检查

Skill Metadata

工具元数据

  • Mode: centaur
yaml
category: email-tools
subcategory: deliverability
dependencies: [dnspython]
difficulty: beginner
time_saved: 2+ hours/week
  • 模式: centaur
yaml
category: email-tools
subcategory: deliverability
dependencies: [dnspython]
difficulty: beginner
time_saved: 2+ hours/week