Giter VIP home page Giter VIP logo

postfix-dovecot's Introduction

postfix-dovecot

In testing …

Postfix and Dovecot imap with STARTTLS encryption.

Run the container

docker run -d -e maildomain=yourdomain.xyz -p 25:25 -p 465:465 -p 143:143 -p 993:993 –name postfix-dovecot daone/postfix-dovecot

Account creation

  1. Install mkpasswd: apt-get install whois

  2. Generate encrypted password: mkpasswd your_password

  3. Create the user: docker exec postfix-dovecot create_user.sh *user encrypted_password*

Data out of the container

docker run -d -e maildomain=yourdomain.xyz -v /path_for_postfix_mail_delivery:/var/mail -v path_for_imap_storage:/home -p 25:25 -p 465:465 -p 143:143 -p 993:993 --name postfix-dovecot daone/postfix-dovecot

Use your own SSL certificate

Generate your certificate : http://wiki2.dovecot.org/SSL/CertificateCreation

Save certificate as ssl.crt and key as ssl.key.

Add -v path_to_your_certificate:/ssl to docker run command.

docker exec postfix-dovecot ln -s /ssl/ssl.crt /etc/dovecot/dovecot.pem

docker exec postfix-dovecot ln -s /ssl/ssl.key /etc/dovecot/private/dovecot.pem

docker exec postfix-dovecot doveadm reload

Issues and solutions.

  • Thunderbird failed to find the settings for your email account.

To check if OCSP is the cause of the trouble disable it temporarily and retry to connect to your server.

Preferences -> Advanced -> Certificates -> Validation -> Uncheck "Use the Online Certificate Status Protocol (OCSP) to confirm the current validity of certificates"

http://unix.stackexchange.com/questions/123367/thunderbird-fails-to-connect-to-dovecot-and-postfix

postfix-dovecot's People

Watchers

James Cloos avatar  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.