Quickstart

The shortest path to a working inbox, for a domain that doesn't get mail anywhere else yet. Moving a domain that already has mail, or want the reasons behind each step? Use Set up your server instead.

You need a domain whose DNS is on Cloudflare, a Cloudflare account on Workers Paid ($5 a month, for sending), and Node.js 22.18 or later with pnpm.

1. Deploy

git clone https://github.com/mailopus/server.git mailopus && cd mailopus
pnpm install && pnpm mailopus login
pnpm mailopus whoami

Copy the account id it prints into the deploy:

CLOUDFLARE_ACCOUNT_ID=<your account id> pnpm run deploy

The deploy prints your Worker's URL, https://mailopus.<your subdomain>.workers.dev, and a claim link. Keep both.

2. Add one TXT record

In your domain's DNS:

TypeNameContent
TXT_mailopushttps://mailopus.<your subdomain>.workers.dev

No path and no trailing slash.

3. Receive and send

In the Cloudflare dashboard, on your domain:

  1. Email > Email Routing. Turn it on and let it add its records. Edit the catch-all rule: Send to a Worker, mailopus, enabled.
  2. Email > Email Sending. Add the domain, let it add its records, and wait until it shows as verified.

4. Claim it

Open the claim link from step 1. Enter your name and an address at your domain, then press Create passkey. You're the admin now, and the claim page refuses everyone after you.

Sign in from then on at app.mailopus.net with that address and passkey.

5. Check it

Send yourself a message from another account, and reply to it from Mailopus. If the reply fails, Email Sending isn't verified yet. pnpm mailopus logs shows each message as it arrives.

Next

Copyright © 2026