Git Product home page Git Product logo

docker-imap-devel's Introduction

Dockerized IMAP server#

IMAP server for debugging.

IMPORTANT: This image is ONLY for developing/debugging proposes

This docker image is based on https://github.com/tomav/docker-mailserver If you look for a docker image for production environment, then go here: https://hub.docker.com/r/tvial/docker-mailserver/

This image is even simpler than tvial docker image. Includes only Postfix (SMTP) and Dovecot (IMAP) servers with one catchall mailbox [email protected] for all emails. So, it's very useful for debugging. Optionally, you can define another normal mailbox.

Every email received via SMTP will be delivered locally to [email protected], so it's safe for testing a web application sending emails with a production list of emails.

Using your favorite email client you can connect via IMAP protocol to see emails like original recipient would received them

Run container with docker compose

cp docker-compose.yml.dist docker-compose.yml

Edit docker-compose.yml for set these environment variables:

  • MAILNAME: Mail domain (by default, localdomain.test)
  • MAIL_ADDRESS: Normal user mailbox email address (optional)
  • MAIL_PASS: Normal user mailbox password
docker-compose up

Configure your email client with these parameters and test it sending any email to any email address

Catch all debug mailbox

  • IMAP server: imap

  • IMAP encryption: SSL

  • IMAP port: 993

  • IMAP username: [email protected] (change example.org by your MAILNAME)

  • IMAP password: debug

  • SMTP server: imap

  • SMTP encryption: No

  • SMTP port: 25

  • SMTP authentication: none

Normal user mailbox (Optional)

  • IMAP server: imap

  • IMAP encryption: SSL

  • IMAP port: 993

  • IMAP username: [email protected] (change [email protected] by your MAIL_ADDRESS)

  • IMAP password: pass (change pass by your MAIL_PASS)

  • SMTP server: imap

  • SMTP encryption: No

  • SMTP port: 25

  • SMTP authentication: none

docker-imap-devel's People

Contributors

antespi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.