Giter Club home page Giter Club logo

mailserver-rancher's Introduction

hardware/mailserver Rancher Catalog

Description

This catalog provides a basic template to easily deploy an email server based on hardware/mailserver. To use it, just add this repository to your Rancher system as a catalog in Admin > Settings page.

Prerequisites

  • Linux host with at least 2GB of memory and 20GB of local disk
  • Supported version of Docker
  • Rancher server
  • Basic understanding of e-mail ecosystem and standards

And you MUST read this :

How to setup

  1. Add this catalog in Admin > Settings page : https://github.com/hardware/mailserver-rancher.git

  2. Select 'mailserver' from the catalog menu.

  3. Fill in all required fields and adapt to your needs. For more information, read the documentation.

  4. Lauch the mailserver stack. At first launch, the container takes few minutes to generate SSL certificates, DKIM keypair and update clamav database, all of this takes some time (1/2 minutes). You can check the startup logs with Rancher admin panel.

  5. Now, you must setup a reverse proxy to access your administration, webmail and spam WebUIs. Add a label in the host instance configuration, in Infrastructure > Hosts page, named traefik_lb with a value equal to true. Traefik will be deployed in all hosts with this label.

  6. Select 'traefik' load balancer from the community catalog. Fill in all required fields and adapt to your needs. If you choose API integration method, don't forget to create an API key for Traefik in API > Keys page.

  7. Once traefik is started, you can setup Postfixadmin and Rainloop configuration :

  8. Done, congratulation !

Custom mailserver SSL certificate

  1. Request your SSL certificate in ${VOLUMES_ROOT_PATH}/ssl/live/mail.domain.tld with an ACME client if you use Let's Encrypt, otherwise get your SSL certificate with the method provided by your certification authority.
  2. Enable the custom SSL certificate support in rancher mailserver catalog.

For more information, read this : custom certificates

If you do not use your own trusted SSL certificate, a default self-signed one (RSA 4096 bits SHA2) is added here : ${VOLUMES_ROOT_PATH}/mail/ssl/selfsigned/{cert.pem, privkey.pem}.

List of all webservices available after installation :

Email client settings :

  • IMAP/SMTP username : [email protected]
  • Incoming IMAP server : mail.domain.tld
  • Outgoing SMTP server : mail.domain.tld
  • IMAP port : 993
  • SMTP port : 587
  • SIEVE port : 4190
  • IMAP Encryption protocol : SSL/TLS
  • SMTP Encryption protocol : STARTTLS
  • SIEVE Encryption protocol : STARTTLS

mailserver-rancher's People

Contributors

micheldiz avatar hardware avatar

Stargazers

Damjan Kumin avatar barkpixels avatar  avatar Jasonth avatar Brandon avatar  avatar Wilmer Rojas avatar Markus Lauff avatar  avatar J. van Harn avatar Markus Keese avatar  avatar  avatar

Watchers

Markus Lauff avatar  avatar  avatar Markus Keese avatar  avatar

mailserver-rancher's Issues

Regarding SSL

Following the steps in README, is that SSL will be generate automatically? I see that I have to insert certificate inside Traefik configuration on Rancher, is that the moment I have to do something on it? Because if I leave it blank, I can't access those postfixadmin and webmail with https

Cannot access to postfixadmin, spam and rainloop

I have configured Traefik and everything is running fine and healthy. I already updated DNS record and checked them with DNS checker. However, I cannot reach these sites with message "This site can’t be reached". Any possible causes for it? Thanks!

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.