Maildrop is a self hostable and easy to use disposable email service that allows you to receive emails on a random email address on your domain.
- Signing up to services without using your real email address
- Easily creating multiple accounts on services
- Random email generation
- Use custom emails
- Support for password protected inboxes
- Clean UI
- Easy setup
- Better mobile UI
- Settings web page
- Multi domain support
- Python 3
- pip
-
Clone the repository
git clone https://github.com/haileyydev/maildrop.git cd maildrop
-
Create a venv and activate it
python -m venv venv source venv/bin/activate
-
Install the requirements
pip install -r requirements.txt
-
Run the application
sudo python app.py
The application must be run as root for the SMTP server to work
- Ensure port 25 is open as this is the port the email server uses. Some ISPs block this so you may need to use a tunnel or host maildrop in the cloud.
- Edit your domains dns settings and create an
A
record pointing to your public IP. - Edit your domains dns settings and create an
MX
record pointing to the domain you made yourA
record on. - Edit
.env
and change the domain to your domain.
Use this command to run maildrop in a docker container:
sudo docker run \
-d \
--restart unless-stopped \
--name maildrop \
-p 5000:5000 \
-p 25:25 \
-e DOMAIN="yourdomain.com" \
haileyydev/maildrop:latest
Or if you prefer docker compose, Add this to your compose.yml file:
services:
maildrop:
image: haileyydev/maildrop:latest
container_name: maildrop
restart: unless-stopped
ports:
- "5000:5000"
- "25:25"
environment:
- DOMAIN=yourdomain.com
and then start it: sudo docker compose up -d