Mail is pain. Let's do it with pliers.
Find a file
Denis Knauf 76228a0afb init
2020-11-07 20:27:01 +01:00
defaults init 2020-11-07 20:27:01 +01:00
handlers init 2020-11-07 20:27:01 +01:00
meta init 2020-11-07 20:27:01 +01:00
tasks init 2020-11-07 20:27:01 +01:00
tests init 2020-11-07 20:27:01 +01:00
vars init 2020-11-07 20:27:01 +01:00
.gitignore init 2020-11-07 20:27:01 +01:00
README.adoc init 2020-11-07 20:27:01 +01:00

mail - Secure Postfix & Dovecot
===============================

Mail is pain.  For an easier setup, this role configures a mail-server
with secure default settings.

Requirements
------------

You need to have debian (or compatible, like ubuntu) already installed.

It will install all dependencies on host-machine:

* LDAP - Yes, you need a LDAP-server.  It can be installed anywhere, but you need one.

It expects for TLS a PKI in `/etc/postfix/tls/` and `/etc/dovecot/tls/`,
where you have to place `**hostname**.key`, `**hostname**.crt`.

Role Variables
--------------

TODO

Example Playbook
----------------

TODO

----
---
# vim: set expandtab tabstop=2 shiftwidth=2:

- hosts: mailserver
  remote_user: root
  become: false

  tasks:
  - import_role:
      name: mail
----

License
-------

AGPLv3

Author Information
------------------

Denis Knauf - https://git.denkn.at/deac/ansible-role-mail