https://github.com/eaudeweb/edw.docker.mailtrap
Catch all mail and display it in roundcube interface.
https://github.com/eaudeweb/edw.docker.mailtrap
Last synced: 4 months ago
JSON representation
Catch all mail and display it in roundcube interface.
- Host: GitHub
- URL: https://github.com/eaudeweb/edw.docker.mailtrap
- Owner: eaudeweb
- Created: 2017-05-16T12:31:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-11-20T15:46:52.000Z (7 months ago)
- Last Synced: 2025-11-20T17:24:30.834Z (7 months ago)
- Language: Dockerfile
- Size: 4.15 MB
- Stars: 20
- Watchers: 3
- Forks: 19
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mailtrap Docker Image
Catch all mail and display it in roundcube interface.
# Usage
## Start Mailtrap
$ docker run -d --name=mailtrap -p 80:80 eaudeweb/mailtrap
## Send email
$ docker run -it --link mailtrap alpine:3.6 sh
$ telnet mailtrap 25
ehlo example.com
mail from: me@example.com
rcpt to: you@example.com
data
Subject: Hello from me
Hello You,
This is a test.
Cheers,
Me
.
quit
## See email via Mailtrap Web UI:
* http://localhost
## Default login:
* **Username:** `mailtrap`
* **Password:** `mailtrap`
## Customisations:
Set environment variables
* `MT_USER` - mailbox user, default mailtrap
* `MT_PASSWD` - mailbox user password, default mailtrap
* `MT_MAILBOX_LIMIT` - mailbox limit in bytes, default 51200000
* `MT_MESSAGE_LIMIT` - message limit in bytes, default 10240000
and recreate the container.
## Testing the image locally
```
sudo docker build -t eaudeweb/mailtrap:test .
sudo docker-compose up
```