← All projects
Project record1 mention
Originally shared on Hacker News

Perch

Perch is a single binary Go program that serves IMAP and SMTP as a complete mailbox service, with an agent-friendly CLI to access and manage email. It is open source under the MIT-0 license, requires mxRaven to handle the public edge, and can run self-hosted (e.g., on an old workstation in a homelab behind CGNAT or firewalls), pulling mail in real time from mxRaven's notification stream over a websocket.

Last shared For Homelab self-hosters; LLM agents using the agent-friendly CLI
01 / The problem

What it addresses

The hardest part about self-hosting email is the public edge, which requires managing IP reputation, throttles and a convoluted set of authentication protocols (DKIM, SPF, DMARC, ARC etc.); mxRaven handles that part.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Perch

    Perch is a single binary Go program that serves IMAP and SMTP as a complete mailbox service, with an agent-friendly CLI to access and manage email. It is open source under the MIT-0 license, requires mxRaven to handle the public edge, and can run self-hosted (e.g., on an old workstation in a homelab behind CGNAT or firewalls), pulling mail in real time from mxRaven's notification stream over a websocket.

    Problem: The hardest part about self-hosting email is the public edge, which requires managing IP reputation, throttles and a convoluted set of authentication protocols (DKIM, SPF, DMARC, ARC etc.); mxRaven handles that part.

    Audience: Homelab self-hosters; LLM agents using the agent-friendly CLI

    Posted by @ku5h · Original source ↗

    Story title · @ku5h · · Source ↗

    Show HN: Perch by mxRaven, a self-hosted mailbox and CLI in 1 file

    Submitted URL · @ku5h · · Source ↗

    https://perch.mxraven.com

    Source text · @ku5h · · Source ↗

    You can try out perch without signing up for mxRaven at https://tryperch.mxraven.com

    Source text · @ku5h · · Source ↗

    Perch is a single binary Go program that can serve IMAP + SMTP as a complete mailbox service and has an agent-friendly CLI to access and manage emails.

    Source text · @ku5h · · Source ↗

    Note that perch is open source under the MIT-0 license but it requires mxRaven to handle the public edge.

    Source text · @ku5h · · Source ↗

    The hardest part about self-hosting email is the public edge, which requires managing IP reputation, throttles and a convoluted set of authentication protocols (DKIM, SPF, DMARC, ARC etc.) and mxRaven handles that.

    Source text · @ku5h · · Source ↗

    Perch can run on an old workstation in your homelab behind CGNAT or firewalls as it pulls mail in real-time from mxRaven's notification stream over a websocket.

    Source text · @ku5h · · Source ↗

    The agent-friendly CLI was not an afterthought, since LLMs have been trained heavily for utilizing POSIX-compatible shell tools for various benchmarks, I believe agents are unbelievably good when you give them tools in the language they understand: CLI.