Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 704 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 704 Bytes

Mailtrap

This Docker image will listen on port 25, and do nothing else than responding to SMTP traffic in a valid way, and piping incoming emails to stdout.

To run:

docker-compose up -d
docker logs -f mailtrap

Use case: getting a startssl cert

If you want to get a StartSSL cert for a domain you just registered, do the following:

  • run this mailtrap on a server
  • set the MX record to e.g. mail.domain.com. (priority e.g. 10)
  • add an A record for mail to the IP address of the server where you are running the mailtrap
  • In the domain validation wizard, pick any email address (e.g. hostmaster@domain.com)
  • Check the docker logs and copy-and-paste the validation token from it