Sign inSign up

florentgn/mailtrap

By florentgn

•Updated 9 months ago

Catch all mail and display it in roundcube interface.

Image
0

1.4K

florentgn/mailtrap repository overview

⁠Mailtrap Docker Image

Fork of eaudeweb/mailtrap.

Catch all mail and display it in roundcube interface.

https://github.com/FlorentGN/edw.docker.mailtrap⁠

⁠Usage

⁠Start Mailtrap

$ docker run -d --name=mailtrap -p 80:80 florentgn/mailtrap

⁠Send email

$ docker run -it --link mailtrap alpine:3.6 sh

  $ telnet mailtrap 25
  helo example.com
  mail from: [email protected]
  rcpt to: [email protected]
  data
  Subject: Hello from me
  Hello You,

  This is a test.

  Cheers,
  Me
  .
  quit

⁠See email via Mailtrap Web UI:

⁠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 florentgn/mailtrap:test .
sudo docker-compose up

Tag summary

Content type

Image

Digest

sha256:00803ae21…

Size

113.3 MB

Last updated

9 months ago

docker pull florentgn/mailtrap