Giter VIP home page Giter VIP logo

ansible-mailcow's Introduction

ansible-mailcow

Ansible role for an initial install of the mailcow mailserver and groupware

  • installs Docker and docker-compose
  • installs and configures mailcow-dockerized
  • option to install RainLoop Webmail
  • option to install NextCloud
  • option to add mailserver firewall rules
  • option to add a backup cron job

Details and documentation:

Requirements

  • Debian 9 Stretch or Debian 10 Buster
  • or RancherOS with Alpine console
  • 1.5 to 2 GB RAM

Info

  • mailcow: dockerized requires some ports to be open for incoming connections, so make sure that your firewall is not blocking these.

  • Make sure that no other application is interferring with mailcow's configuration, such as another mail service

  • A correct DNS setup is crucial to every good mailserver setup, so please make sure you got at least the basics covered before you begin!

  • Make sure that your system has a correct date and time setup. This is crucial for stuff like two factor TOTP authentication.

  • Prerequisites: https://mailcow.github.io/mailcow-dockerized-docs/prerequesite-system/

  • DNS: https://github.com/mailcow/mailcow/wiki/DNS-records

Moving IMAP mail from other servers

Role Variables

At a minimum set your Server IP, Fully Qualified Domain Name and Timezone in defaults/main.yml

Example hosts

[servers]
OnDebian    ansible_host=mail.example.org
OnRancherOS ansible_ssh_host=mail.example.com ansible_ssh_user=rancher ansible_python_interpreter=/usr/bin/python3

Example mailcow playbook

- hosts: servers
  user: root
  become: True
  roles:
     - ansible-mailcow
  • For Debian or RancherOS: ansible-playbook -v mailcow.yml

License

MIT

Author Information

Christian Wagner

ansible-mailcow's People

Contributors

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