Sign inSign up

dbck/dbckmail

By dbck

•Updated about 24 hours ago

Catch-all email mailbox container for development purposes with Webmail, IMAP and SSL-Support.

Image
0

868

dbck/dbckmail repository overview

⁠Purpose

This image provides a simple catch all email server for development with smtp, imap and webmail support. The base image is debian and only default packages are used. Only use this image for development purposes, because it is not designed to be secure. If it is connectable from the Internet, it can lead to an open relay mail server.

⁠Performance & Improvements

This images uses dovecot as mda with sdbox as storage format, which delivers much more performance and stability than mbox with thousands of received mails. Also the image provides StartTLS / SSL with a selfsigned snakeoil certificate.

⁠Available Services/Ports

  • SMTP Unsecure/StartTLS (25), SSL (465)
  • Submission Unsecure/StartTLS (587)
  • IMAP Unsecure/StartTLS (143), SSL (993)
  • HTTP (80) => Webmail Roundcube⁠

⁠Environment variables with default values for customization

DBCKMAIL_USER=dbckmail
DBCKMAIL_PASSWORD=dbckmail
DBCKMAIL_MAILBOX_LIMIT=51200000
DBCKMAIL_MESSAGE_LIMIT=10240000
DBCKMAIL_MAX_RECIPIENT_LIMIT=1000
DBCKMAIL_ROUNDCUBE_CONFIG_REQUEST_PATH=""

⁠Starting a container

Note: The examples use the flag --rm to automatically remove the container instance, when stopped. The flag --init is required to speed up the shutdown of the container. Also the ports are bound to localhost.

⁠Simple container start

docker container run -d --rm --init --name=dbckmail -p 127.0.0.1:9080:80 -p 127.0.0.1:9025:25 dbck/dbckmail

⁠All ports mapped

docker container run -d --rm --init --name=dbckmail -p 127.0.0.1:9080:80 -p 127.0.0.1:9025:25 -p 127.0.0.1:9587:587 -p 127.0.0.1:9465:465 -p 127.0.0.1:9143:143 -p 127.0.0.1:9993:993 dbck/dbckmail

⁠Suggested port mapping

docker container run -d --rm --init --name=dbckmail -p 127.0.0.1:9080:80 -p 127.0.0.1:9025:25 -p 127.0.0.1:9587:587 -p 127.0.0.1:9143:143 dbck/dbckmail
docker logs -f dbckmail

⁠Example docker-compose configuration

Please look at compose.example.yml⁠

⁠More documentation

For more details be reference the README on github⁠.

Tag summary

Content type

Image

Digest

sha256:f0d0841de…

Size

123.8 MB

Last updated

1 day ago

docker pull dbck/dbckmail