Giter Club home page Giter Club logo

ansible-mailing-solution's Introduction

ansible-mailing-solution

Complete mailing solution with dkim signatures, webmail and antispam. Tested on Debian Buster. Doesn't support TLS yet!

Before usage, you should go thru all files, add some IPs, hosts etc. Just as always, you must know what you're doing.

repo structure

/filter_plugins /group_vars - variables for groups of hosts /host_vars - variables for hosts /roles /ansible.cfg - basic configuration file for ansible /hosts - inventory file

playbooks

site.first_run.yml

Playbook for basic setup of new container/server. Should be played on every new host for basic setup.

site.email.yml

Playbook for setup new email solution. See hosts file for info what roles are applied on hosts.

site.www_loadbalancer.yml

Playbook for setup haproxy as www balancer for webmail and rspamd gui with let's encrypt support.

site.service_loadbalancer.yml

Playbook for loadbalancer for IMAP and SMTP with fail2ban support

configuration

Before using this bundle, basic configuration must be done:

  • group_vars/all/all.yml - provide your domain name for hostnames (used by inventory file)
  • group_vars/all/ansible.yml - fix your ssh connect command, ie. setup bastion host if used
  • group_vars/all/firewall.yml - setup your firewall rules, mostly for NAT and routing.
  • group_vars/all/vault.yml - create valid vault file. See vault.example for variables and content used here
  • go thru every group_vars direcory and setup your environment according

ansible-mailing-solution's People

Contributors

snipercze avatar

Stargazers

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