# Inbucket

Inbucket is a self-hosted development app. Disposable webmail server (similar to Mailinator) with built in SMTP, POP3, RESTful servers; no DB required. It is open source and self-hosted, installable on Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/7834/inbucket

## Description

Disposable webmail server (similar to Mailinator) with built in SMTP, POP3, RESTful servers; no DB required.

## Platform availability

Available on 5 of 10 platforms: Helm, Mac, Windows, Linux, Any server.

## Desktop and other devices

Mac, Windows, Linux, Other (freebsd).

## Health score

79/100 (Good), based on 4 of 5 factors.
- Maintained: 88 (last commit 2 days ago)
- Popular: 67 (2,316 GitHub stars)
- Easy to install: 75 (6 install platforms, install notes)
- Security check: 78 (no serious findings, CI, tests, OpenSSF Scorecard 4.5/10)

## Links

- desktop: https://github.com/inbucket/inbucket/releases/latest
- Documentation: https://github.com/inbucket/inbucket
- Kubernetes (Helm): https://artifacthub.io/packages/helm/inbucket/inbucket
- Official website: https://inbucket.org/
- GitHub: https://github.com/inbucket/inbucket

## Common questions

### Is it safe to expose Inbucket to the internet?

No. Inbucket is a testing tool that is intentionally insecure with no authentication or access controls. Run it only on trusted networks for email you control, and never expose it to the public internet.

### Which ports does Inbucket use and how do I run it with Docker?

Run it with the three ports mapped: `docker run -d --name inbucket -p 9000:9000 -p 2500:2500 -p 1100:1100 inbucket/inbucket`. Port 9000 is the web UI, 2500 is SMTP, and 1100 is the optional POP3 port; if you skip mapping them nothing can reach Inbucket from your machine.

### Inbucket won't start or the web UI at localhost:9000 doesn't load — where do I look?

Check whether ports 2500 and 9000 are already used by another app, which causes 'port in use' errors. On macOS after a Homebrew install, check `/usr/local/var/log/inbucket.log`, where startup errors appear, and load the LaunchAgent with `launchctl load ~/Library/LaunchAgents/homebrew.mxcl.inbucket.plist`.

### How do I configure Inbucket?

Inbucket is configured via environment variables. Most options have reasonable defaults, and running `inbucket -help` prints a condensed summary of the environment variables it supports.

### Does Inbucket support TLS?

Yes. As of version 3.2.0, Inbucket automatically reloads TLS certificates when your certificate or key files change on disk, without requiring a restart.

### Does Inbucket need a database?

No, it requires no database — mail is kept in memory or on disk, and the app is not intended for storing mail of any significance, only for development and testing.

## Alternatives

- Mailpit: Mailpit is a multi-platform email testing tool & API for developers.
- Maily
- Postfix: Postfix is a fast, secure SMTP (Simple Mail Transfer Protocol) mail server that administrators can use to accept, relay, and deliver email…

---
Source: Our Local Host (https://ourlocalhost.com/app/7834/inbucket), the self-hosted and open-source app directory.
