Open Source standalone trashmail solution that ships its own mail server
100K+
trashmail solution to use with your own domains or subdomains
Just edit the config.ini You can use the following settings
DOMAINS -> Comma separated list of domains this mail server will be receiving emails on. It's just so the web interface can generate random addressesMAILPORT-> The port the Python-powered SMTP server will listen on. Default: 25ADMIN -> An email address (doesn't have to exist, just has to be valid) that will list all emails of all addresses the server has received. Kind of a catch-allDATEFORMAT -> How should timestamps be shown on the web interface (moment.js syntax)Choose email
Get random email address
Download attachments safely
Display Text/HTML
API so all features from the site can also be automated and integrated
Automatically check for new emails while on site
Admin overview for all available email addresses
Secure HTML, so no malicious things can be loaded
Display embedded images inline using Content-ID
Option to show raw email
Delete messages
Make better theme
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, a domain for auto-generation of emails and auto restart
docker run -d --restart=always --name opentrashmail -e "DOMAINS=mydomain.eu" -e "DATEFORMAT='D.M.YYYY HH:mm'" -p 80:80 -p 25:25 -v /path/on/host/where/to/save/data:/var/www/opentrashmail/data hascheksolutions/opentrashmail
The heart of Open Trashmail is a Python-powered SMTP server that listens on incoming emails and stores them as JSON files. 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 address of your machine.
Content type
Image
Digest
sha256:4445b7eb8…
Size
57.6 MB
Last updated
about 1 year ago
docker pull hascheksolutions/opentrashmail