☤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 INLINECODE2
- Extracts the audited release into a skill-owned cache under INLINECODE3
- 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.
CODEBLOCK0
Quick start
CODEBLOCK1
Daily headless run after bootstrap
CODEBLOCK2
Lane operations
CODEBLOCK3
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.
☤CaduceusMail 3.6.7
收件箱可靠性优化引擎:自动强化发件人信任度、轮换身份标识,并构建可扩展的外联/支持流程,确保邮件远离垃圾箱。
☤CaduceusMail 是一款可部署的技能,可在单个Microsoft 365邮箱和Cloudflare DNS区域之上实现企业级别名/域名控制。
OpenClaw技能适配器,用于本技能内附的经过审计的caduceusmail发布制品。它无需运行时npm获取即可管理M365 + Cloudflare邮件/DNS。
功能说明
本技能是独立caduceusmail包的轻量适配器。首次使用时,包装器将:
- 1. 根据vendor/caduceusmail-release.json中固定的SHA-512完整性值验证附带的压缩包
- 将经过审计的发布版本解压到~/.local/share/caduceusmail-skill/toolchains下的技能专属缓存中
- 在精简环境及运行时状态目录的仅所有者权限下运行CLI
它不会在运行时从npm获取代码、安装全局包或执行npm生命周期脚本。
第一步
在进行任何重大操作前,先通过安全包装器运行诊断程序。
bash
bash {baseDir}/scripts/run.sh doctor --json
快速开始
bash
bash {baseDir}/scripts/run.sh bootstrap \
--organization-domain example.com \
--mailbox ops@example.com \
--bootstrap-auth-mode device
引导后的每日无头运行
bash
bash {baseDir}/scripts/run.sh bootstrap \
--organization-domain example.com \
--mailbox ops@example.com \
--skip-m365-bootstrap
通道操作
bash
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
硬性规则
- * 绝不在一次操作中发送群组邮件
- 绝不同时向多个收件人发送单条消息
- 将不回复通道视为有意设置的不接收身份(无MX + SPF -all配置)
- 删除默认设置为回复安全:别名在退役时保留回退连续性,除非明确硬删除
本技能可执行的操作
- * 引导Graph和Exchange认证状态
- 通过OpenClaw网关/浏览器钩子为VPS/SSH设置移交Microsoft设备登录流程
- 审计凭证和DNS状态
- 优化根邮件记录
- 在子域名下配置回复和不回复通道
- 验证通道就绪状态
- 以回复连续性退役通道
- 生成感知快照和机器可读状态制品
OpenClaw运行时模式
优先通过skills.entries.caduceusmail.env注入密钥,而非编辑文件。参见examples/openclaw.config.json5。
包装器仅转发所需的CaduceusMail/OpenClaw/M365/Cloudflare变量以及终端/无头提示,因此默认不传递无关的主机密钥。
除非显式设置CADUCEUSMAILALLOWEXTERNALSCRIPTRESOLUTION=1,否则外部脚本解析保持禁用。
安全与权限披露
本技能设计上执行高权限操作:
- * Microsoft Graph应用角色授予
- Exchange服务主体和RBAC角色分配
- Exchange接受域调整(可选标志)
- 通道记录的Cloudflare DNS变更
运行时状态制品写入~/.caduceusmail/intel,权限为仅所有者。环境变量/密钥持久化在底层工具中保持可选,任何持久化的环境文件预期仅所有者可读。
请使用最小权限凭证:一个限定所需Graph/Exchange角色的专用Entra服务主体,以及一个限制为目标区域DNS权限的Cloudflare令牌。