Guide to openbounce, the free open-source email verifier — install it, connect its MCP server to Claude, Cursor or Codex, run it on a VPS, set up HELO, reverse DNS (PTR) and port 25, and fix results that all come back unknown (port_25_blocked, ip_blocklisted, reverse_dns_required, helo_rejected, sender_rejected, timeout, connection_refused). Use when setting up or troubleshooting openbounce, or when verification results look wrong.
4 stars
0 votes
0 copies
0 views
Added December 4, 2026
ai-agentsgobashawsgcpazuregitapisecurity
Works with
claude code
claude desktop
cursor
cli
api
mcp
Security analysis
C71/100
criticalPipes output to a shell interpreter
mediumUses curl or wget to download content
criticalDownloads and executes remote scripts — classic supply chain attack
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ask Openbounce?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/levychain-ask-openbounce)
---
name: ask-openbounce
description: Guide to openbounce, the free open-source email verifier — install it, connect its MCP server to Claude, Cursor or Codex, run it on a VPS, set up HELO, reverse DNS (PTR) and port 25, and fix results that all come back unknown (port_25_blocked, ip_blocklisted, reverse_dns_required, helo_rejected, sender_rejected, timeout, connection_refused). Use when setting up or troubleshooting openbounce, or when verification results look wrong.
---
# Working With openbounce
## Initial Response
When this skill is first invoked without a specific question, respond only with:
> I'm ready to help you set up openbounce and get clean answers from mail servers. What are you trying to do?
Do not provide any other information until the user asks a question.
## Install
One line, macOS and Linux, no pip needed (it uses uv, a private virtualenv, or fetches uv):
```bash
curl -fsSL https://raw.githubusercontent.com/levychain/openbounce/main/install.sh | sh
openbounce selftest # everything works here?
openbounce doctor # can this machine reach mail servers?
```
If `openbounce` isn't found afterwards, it's in `~/.local/bin/openbounce` (add that folder to PATH). "pip: command not found" or "externally-managed-environment" means don't use pip: use the line above.
## Connect an agent (MCP)
Claude Code: `/plugin marketplace add levychain/openbounce` then `/plugin install openbounce@levychain` (adds these skills and the MCP server). Or only the server:
```bash
claude mcp add openbounce -- uvx --from "openbounce[mcp] @ git+https://github.com/levychain/openbounce" openbounce mcp
```
Any other MCP client (Cursor, Windsurf, Claude Desktop, Codex), add to its MCP config:
```json
{
"mcpServers": {
"openbounce": {
"command": "uvx",
"args": ["--from", "openbounce[mcp] @ git+https://github.com/levychain/openbounce", "openbounce", "mcp"]
}
}
}
```
## Agents that can't reach port 25 (Grok, ChatGPT, Claude on the web, cloud sandboxes)
openbounce notices in a few seconds (`port_25_blocked`), still answers everything DNS can (DNS goes over HTTPS if the sandbox blocks normal DNS), and gets mailbox answers from bounce emails: `openbounce bounce <file|folder>`, `pbpaste | openbounce bounce`, or the `read_bounce` MCP tool. Every edge case is in docs/edge-cases.md.
Optional, for a user who wants live mailbox checks from a sandbox: they run their own server where port 25 works and point agents at it: docs/hosted.md. Quick version: `OPENBOUNCE_API_KEY=$(openssl rand -hex 24) openbounce serve --host 0.0.0.0`, HTTPS via `cloudflared tunnel --url http://localhost:8025`, then bots use `https://<url>/verify?email=...&key=...`, MCP clients use `https://<url>/mcp`, and the CLI uses `OPENBOUNCE_API_URL`.
## Diagnose by `reason`
Run `openbounce doctor` first. It tests port 25 to Gmail and Yahoo.
| `reason` | What it means | Fix |
| --- | --- | --- |
| `port_25_blocked`, `timeout`, `connection_refused`, `network_unreachable`, `smtp_unreachable` on everything | Outbound port 25 is blocked (home ISPs, AWS, GCP, Azure) | Run on a VPS that allows port 25 (see [SERVER.md](SERVER.md)), or use `--no-smtp` for syntax, DNS and list checks only |
| `ip_blocklisted` (mentions Spamhaus) | This IP is on a blocklist; Microsoft and many others refuse it. Common for home IPs | Use a server with a clean IP |
| `reverse_dns_required` (Yahoo `5.7.25`) | The IP has no reverse DNS matching the HELO name | Set PTR and `OPENBOUNCE_HELO` — [SERVER.md](SERVER.md) |
| `helo_rejected` | The server wants a real hostname in EHLO (laptops send `localhost`) | Set `OPENBOUNCE_HELO` to a hostname you own, ideally with matching reverse DNS |
| `sender_rejected` | The server didn't like the empty sender `<>` | Set `OPENBOUNCE_FROM=verify@yourdomain.com` |
| `protocol_error`, `rejected_unclear` | A rejection we couldn't read as "no such mailbox" | Leave as unknown; check `smtp_message` |
| `dns_error` | Your DNS resolver failed for that domain | Retry later; if constant, check your network's DNS |
| `greylisted_or_temporary` | "Try again later" — normal anti-spam | In an hour, rerun the same `csv` command with `--retry-unknown` |
| `accept_all` | The domain accepts every address | Not fixable by SMTP; it's an honest "can't tell" |
| `port_25_blocked` | This machine can't open port 25 (sandbox, cloud, ISP) | Domain checks still count; read bounces with `openbounce bounce`; or self-host (docs/hosted.md) |
| `bounced_mailbox_not_found` | From a bounce email: the mailbox doesn't exist | Remove it |
| `bounced_blocked_by_server`, `bounce_delayed` | From a bounce email: a spam/policy block or a delay | Not proof the address is bad |
| `gateway_accepts_all` | A security gateway (`gateway` field: Proofpoint, IronPort, Mimecast…) accepts everything, bounces later | Only a real send tells; no bounce after a few days means it's real |
| `api_unreachable`, `api_unauthorized`, `api_rate_limited` | Client mode couldn't use the hosted server | Check `OPENBOUNCE_API_URL`, the key, or the daily limit |
From a laptop on home internet it's normal that **Gmail and most company domains work while Outlook/Hotmail and Yahoo come back `unknown`**. That's IP reputation, not a bug.
## Settings
Environment variables: `OPENBOUNCE_HELO`, `OPENBOUNCE_FROM`, `OPENBOUNCE_TIMEOUT` (default 10s), `OPENBOUNCE_API_KEY` (HTTP API), `OPENBOUNCE_DISPOSABLE_FILE`. Refresh the disposable list with `openbounce update-lists`.
## Hard rules
1. Never suggest rotating IPs, proxies or other ways to dodge a provider's blocks. Fix reputation properly or accept `unknown`.
2. Never suggest exposing the HTTP API publicly without `OPENBOUNCE_API_KEY`.