Open Source standalone trashmail solution that ships its own mail server
Go to file
2019-08-16 21:54:17 +02:00
data initial test 2019-08-13 23:35:40 +02:00
docker added settings to docker and extended quickstart guide 2019-08-16 21:54:17 +02:00
docs docker init 2019-08-16 14:12:16 +02:00
python ok that was too harsh.. just default to port 25 if not config found 2019-08-16 13:34:00 +02:00
web added settings to docker and extended quickstart guide 2019-08-16 21:54:17 +02:00
.gitignore alpha 1 2019-08-15 21:43:55 +02:00
example.config.ini make config mandatory for the mailserver to start 2019-08-16 13:30:30 +02:00
LICENSE Initial commit 2019-08-13 22:27:23 +02:00
README.md added settings to docker and extended quickstart guide 2019-08-16 21:54:17 +02:00

Open Trashmail

Open Trashmail

Apache License HitCount

Host your own trashmail solution to use with your own domains or subdomains

Screenshot of Open Trashmail

Roadmap

  • Mailserver
    • Storing received mails in JSON
    • Storing file attachments
  • Docker files and configs
  • Web interface
    • Choose email
    • Get random email address
    • Download attachments in a safe way
    • Display Text/HTML
    • API so all features from the site can also be automated and integrated
    • Automatically check for new emails while on site
    • Secure HTML so no malicious things can be loaded
    • Display embedded images inline using Content-ID
    • Admin overview for all available email addresses
    • Delete messages
    • Make better theme
  • Configurable settings
    • Choose domains for random generation
    • Choose if out-of-scope emails are discarded
    • Honeypot mode where all emails are also saved for a catchall account
    • Optionally secure whole site with a password
    • Optinally allow site to be seen only from specific IP Range

Features

  • Python powered mail server that works out of the box for any domain you throw at it
  • Web interface to manage emails
  • Generate random email adresses
  • 100% file based, no database needed

Quick start

Simple start with no persistence

docker run --it -p 25:25 -p 80:80 hascheksolutions/opentrashmail

Saving data directory on host machine

docker run -p 80:80 -p 25:25 -v /path/on/host/where/to/save/data:/var/www/opentrashmail/data hascheksolutions/opentrashmail

Complete example with running as daemon, persistence and auto restart

docker run -d --restart=always --name opentrashmail -p 80:80 -p 25:25 -v /path/on/host/where/to/save/data:/var/www/opentrashmail/data hascheksolutions/opentrashmail

How it works

The heart of Open Trashmail is a python powered SMTP server that listens on incoming emails and stores them as json objects. The server doesn't have to know the right Email domain, it will just catch everything it receives. You only have to expose port 25 to the web and set an MX record of your domain pointing to the IP adress of your machine.

The server then saves all received emails as JSON objects and the web interface can access it.