Skip to content

chrisreeves-/ansible-mailserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-mailserver

Full Description:

The full description of the script can be found at https://chrisreeves.co.nz

Scope:

This script installs and configures the following packages and services:

  • Apache
  • PHP 7.2
  • MySQL
  • Postfix
  • Dovecot
  • Letsencrypt
  • Sieve
  • SpamAssassin
  • Postgrey
  • iptables
  • Roundcube Webmail
    • managesieve plugin
    • two_factor_auth plugin

Requirements:

  1. Ansible control server
  2. SSH keys established between Ansible control server and destination server(s)
  3. 2x Public DNS A records pointing to the server to be set up

Dependancies:

Ansible Roles: geerlingguy.firewall & thefinn93.letsencrypt

ansible-galaxy install geerlingguy.firewall
ansible-galaxy install thefinn93.letsencrypt