微算力 · API 导航与自营网关
API 接入 EN
未登录登录
☤

企业邮箱自动化编排与域名别名管理

☤CaduceusMail · v3.6.7
办公 安全 A 级 作者 lmtlssss 公开目录收录
1k 下载 0 安装 2.5k 收藏 6 浏览

简介

企业级邮件自动化利器:单邮箱托管多域名别名,自动化域名认证与发件信誉管理,适合规模化外联与客户支持场景。

原始描述

☤CaduceusMail lets your OpenClaw automate an enterprise-level communications stack with one domain/mailbox combo.

通过你的 Agent 添加

安装目录:caduceusmail/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/caduceusmail/
Codex CLI~/.codex/skills/caduceusmail/
DeepSeek Harness~/.agents/skills/caduceusmail/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心功能

☤CaduceusMail 是一款面向企业级邮件基础设施的自动化编排工具,基于单个 Microsoft 365 邮箱和 Cloudflare DNS 区域实现多域名别名管理。其核心能力包括:

  • 一键基础设施搭建:通过 bootstrap 命令完成 Entra ID 认证配置、Exchange 邮箱绑定及 DNS 基础记录优化
  • 智能通道(Lane)管理:支持 provision-lane 快速创建子域名下的收发别名(如 support@support-reply.example.com),并区分「可回复」与「no-reply」两种身份模式
  • 发件信誉硬化:自动配置 SPF、DKIM、DMARC 记录,实施发件身份轮换策略以降低进入垃圾邮件的概率
  • 审计与验证机制:verify-lane 检测通道就绪状态,doctor 命令全面扫描认证凭据与 DNS 配置健康度

显著优点

  1. 供应链安全设计:采用 vendored 依赖模式,工具包以 SHA-512 校验的本地 tarball 形式嵌入技能,运行时零 npm 网络拉取,规避供应链攻击
  2. 最小权限隔离:OpenClaw 包装层仅转发必要环境变量,主机其他密钥默认不穿透;状态目录强制 owner-only 权限
  3. Headless 友好:内置设备码流支持 VPS/SSH 无浏览器场景的 Entra 认证

潜在局限

  • 厂商锁定深度:重度依赖 Microsoft 365 + Cloudflare 技术栈,迁移成本较高
  • 配置复杂度:需预先准备 7 项环境变量(Entra/Exchange/Cloudflare 凭证),新手入门门槛不低
  • 功能边界明确:禁止群发操作(单操作单收件人),不适合营销邮件场景

适合人群

  • SaaS 企业运维团队需管理多品牌/多产品线的客户支持邮箱
  • 安全敏感型组织追求邮件基础设施的供应链可审计性
  • 需要「域名即服务」快速开闭外联身份的自动化工作流

常规风险提示

风险类别 说明
凭据泄露 Entra Client Secret 与 Cloudflare Token 需严格限制最小权限,避免使用个人全局管理员账号
DNS 误操作 自动化变更可能影响既有邮件流,建议先在隔离 Zone 验证
合规边界 单操作单收件人限制意味着不适用于 GDPR 营销同意场景下的批量通知

技能正文


name: caduceusmail description: "☤CaduceusMail lets your OpenClaw automate an enterprise-level communications stack with one domain/mailbox combo." homepage: https://github.com/lmtlssss/caduceusmail metadata: {"openclaw":{"emoji":"☤","skillKey":"caduceusmail","requires":{"bins":["bash","node","python3","jq"],"env":["ENTRA_TENANT_ID","ENTRA_CLIENT_ID","ENTRA_CLIENT_SECRET","EXCHANGE_DEFAULT_MAILBOX","EXCHANGE_ORGANIZATION","ORGANIZATION_DOMAIN","CLOUDFLARE_API_TOKEN","CLOUDFLARE_ZONE_ID"]}}}

☤CaduceusMail 3.6.7

Inbox-reliability optimization engine: automates sender trust hardening, identity rotation, and scale-ready outreach/support flows designed to keep your mail out of junk.

☤CaduceusMail is a shippable skill for enterprise-grade alias/domain control on top of a single Microsoft 365 mailbox and Cloudflare DNS zone.

OpenClaw skill adapter for an audited caduceusmail release artifact vendored inside this skill. It manages M365 + Cloudflare mail/DNS without a runtime npm fetch.

What this does

This skill is a thin adapter around the standalone caduceusmail package. On first use the wrapper:

  1. Verifies the vendored tarball against a pinned SHA-512 integrity value in vendor/caduceusmail-release.json
  2. Extracts the audited release into a skill-owned cache under ~/.local/share/caduceusmail-skill/toolchains
  3. Runs the CLI with a reduced environment and owner-only permissions on runtime state directories

It does not fetch code from npm at runtime, install a global package, or execute npm lifecycle scripts.

First move

Run the doctor through the secure wrapper before you do anything theatrical.

bash {baseDir}/scripts/run.sh doctor --json

Quick start

bash {baseDir}/scripts/run.sh bootstrap \
  --organization-domain "example.com" \
  --mailbox "ops@example.com" \
  --bootstrap-auth-mode device

Daily headless run after bootstrap

bash {baseDir}/scripts/run.sh bootstrap \
  --organization-domain "example.com" \
  --mailbox "ops@example.com" \
  --skip-m365-bootstrap

Lane operations

bash {baseDir}/scripts/run.sh provision-lane \
  --mailbox "ops@example.com" \
  --local "support" \
  --domain "support-reply.example.com"

bash {baseDir}/scripts/run.sh verify-lane \
  --mailbox "ops@example.com" \
  --alias-email "support@support-reply.example.com" \
  --domain "support-reply.example.com"

bash {baseDir}/scripts/run.sh retire-lane \
  --mailbox "ops@example.com" \
  --alias-email "support@support-reply.example.com"

Hard Rules

  • never send group emails from one operation
  • never send one message to multiple recipients at once
  • treat no-reply lanes as intentional non-receiving identities (no MX + SPF -all profile)
  • delete defaults are reply-safe: aliases are retired with fallback continuity unless explicitly hard-removed

What this skill can do

  • bootstrap Graph and Exchange auth posture
  • hand off Microsoft device-login flows for VPS/SSH setups through OpenClaw gateway/browser hooks
  • audit credential and DNS posture
  • optimize root mail records
  • provision reply and no reply lanes under subdomains
  • verify lane readiness
  • retire lanes with reply continuity
  • generate awareness snapshots and machine readable state artifacts

OpenClaw runtime pattern

Prefer secret injection through skills.entries.caduceusmail.env over editing files. See examples/openclaw.config.json5. The wrapper forwards only the CaduceusMail/OpenClaw/M365/Cloudflare variables it needs plus terminal/headless hints, so unrelated host secrets are not passed through by default. External script resolution stays disabled unless CADUCEUSMAIL_ALLOW_EXTERNAL_SCRIPT_RESOLUTION=1 is set explicitly.

Security and Privilege Disclosure

This skill performs high-privilege operations by design:

  • Microsoft Graph app role grants
  • Exchange service principal and RBAC role assignments
  • Exchange accepted-domain tuning (optional flags)
  • Cloudflare DNS mutations for lane records

Runtime state artifacts are written under ~/.caduceusmail/intel with owner-only permissions. Env/secret persistence remains opt-in in the underlying tool, and any persisted env file is expected to stay owner-readable only. Use least-privilege credentials: a dedicated Entra service principal scoped to the required Graph/Exchange roles and a Cloudflare token limited to the target zone's DNS permissions.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

email-automationmicrosoft-365cloudflaredns-managemententerpriseinfrastructure-as-codecli-toolsupply-chain-security

同类 Skill