Sign inSign up

tyagiakhilesh/mailserver

By tyagiakhilesh

•Updated about 10 years ago

A self contained mail server having postfix + dovecot + mysql inside it.

Artifact
0

1.0K

tyagiakhilesh/mailserver repository overview

⁠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.

Tag summary

Content type

Unrecognized

Digest

Size

173.5 MB

Last updated

about 10 years ago

docker pull tyagiakhilesh/mailserver