Catch all mail and display it in roundcube interface.
$ docker run -d --name=mailtrap -p 80:80 eaudeweb/mailtrap
$ 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
mailtrap
mailtrap
Set environment variables
MT_USER
- mailbox user, default mailtrapMT_PASSWD
- mailbox user password, default mailtrapMT_MAILBOX_LIMIT
- mailbox limit in bytes, default 51200000MT_MESSAGE_LIMIT
- message limit in bytes, default 10240000and recreate the container.
sudo docker build -t eaudeweb/mailtrap:test .
sudo docker-compose up