Public Repository

Last pushed: a year ago
Short Description
A self contained mail server having postfix + dovecot + mysql inside it.
Full Description

The use case that this mailserver serves is as follows.

I have an enterprise level cloud application. It uses keycloak for user management. And the way keycloak works - or the way it has been configured for us - that it sends a reset password link to the email id - that comes to our system and do a signup. And I want to retrieve the content of this mailbox using javamail api - programmatically. And since this is docker container, i can spin up at will. I can add as many users I want.

All you need to do to use this guy is:

docker pull tyagiakhilesh/mailserver

docker create -i -t -e APP_HOST=<a/valid/host/name/which/is/recognized/by/your/dns> -p 25:25 -p 110:110 -p 143:143 -p 995:995 -p 587:587 --hostname <same/as/previous> --name mymails tyagiakhilesh/mailserver:latest

docker start

For more curious readers, this is the source code repository link using which this image has been created.

Docker Pull Command
Owner
tyagiakhilesh

Comments (0)