Build your own disposable email server like mailinator

The goal is to have a disposable server for disposable email.

This can be easily done with docker and inbucket.

TL;DR

docker run -it --rm --name inbucket -p 9000:9000 -p 25:2500 -p 1100:1100 inbucket/inbucket

Prepare your DNS record

In your domain registrar, go to DNS management and add an entry in case you don’t have one. You can use whatever you want.

In this example, I want to send any emails to test.softwareinarush.com as in 2308uasdfA@test.softwareinarush.com

Add an A record that points to your server

On the server, spin up a new container

Simply run:

docker run -it --rm --name inbucket -p 9000:9000 -p 25:2500 -p 1100:1100 inbucket/inbucket

This will start a temporary container with all you need:

  • Web UI 9000 to see emails in real time.
  • Open port 25 to receive email (could be changed but this works even with the mail command in MacOS)
  • Optionally use port 1100 for POP3 (I don’t)

inbucket

Test it

Send a test email from command line (or other email service)

mail -s "test emai hashmail" ninjutsu756@test.softwareinarush.com <<< 'This is a message'

Email should be visible in the Monitor page

monitor inbucket

Once you’re done, you can Ctrl + C to terminate the container.

Written with StackEdit.

Comentarios

  1. William Hill Casinos in Asia - Casinooland
    William Hill is 10bet one of the largest international online gambling and sports bookmakers operating in the william hill United Kingdom. The company operates under  Rating: 퍼스트카지노 9.9/10 · ‎Review by CasinoRange

    ResponderEliminar
  2. Shenanigans apart, monitoring the action earlier than the real cash play begins additionally be|can be} a good 카지노사이트 practice to make sure every little thing is absolutely transparent and legit. The croupier will spin the wheel and name “no more bets”.Players who guess accurately win. The object of roulette is to bet accurately on where the ball will land.

    ResponderEliminar

Publicar un comentario

Entradas populares de este blog

PHP, ODBC, DB2 in linux or macOS

Enviar reporte de commits por email