OpenTrashmail
Self-HostedOpen-source temporary email service for disposable, privacy-focused addresses
Overview
OpenTrashmail enables self-hosted temporary email addresses to avoid spam and protect privacy. It supports custom domains, auto-deletes emails/addresses after configurable periods, and offers a simple web interface. Deploy via Docker for quick setup or manual installation with PHP 7.4+/MySQL. Ideal for users who want control over their temporary email infrastructure without relying on third-party SaaS providers.
Self-Hosting Resources
Below is a reference structure for docker-compose.yml.
⚠️ Do NOT run blindly. Replace placeholders with official values.
version: '3'
services:
open_trashmail:
image: <OFFICIAL_IMAGE_NAME>:latest
container_name: open-trashmail
ports:
- "8080:<APP_INTERNAL_PORT>"
volumes:
- ./data:/app/data
restart: unless-stopped Key Features
- Create disposable temporary email addresses
- Self-hostable via Docker or PHP/MySQL
- Custom domain support for personalized temp addresses
- Auto-expiry of emails and addresses to reduce clutter
Frequently Asked Questions
? Is OpenTrashmail hard to install?
It’s relatively easy—supports Docker for one-click deployment, or manual setup with PHP/MySQL. The GitHub repo provides clear instructions for both methods, making it accessible to users with basic server knowledge.
? Is it a good alternative to Temp-Mail.org?
Yes—OpenTrashmail offers similar temporary email functionality but is self-hosted, so you control your data. It lacks SaaS features like mobile apps but adds privacy and custom domain support.
? Is it completely free?
Yes—OpenTrashmail is open source (MIT license) with no paid tiers. You only pay for hosting costs if you choose to deploy it on a VPS or cloud server.
Top Alternatives
People Also Ask about OpenTrashmail
Tool Info
Pros
- ⊕ Privacy-focused (no third-party data collection)
- ⊕ No subscription fees (100% open source)
- ⊕ Custom domain integration
- ⊕ Simple web interface for easy management
Cons
- ⊖ Requires server hosting (VPS or local machine)
- ⊖ No mobile application (web-only access)
- ⊖ Limited advanced features compared to SaaS alternatives