Adding dovecot and postfix configs

This commit is contained in:
Ubergeek
2019-02-18 00:50:47 +00:00
parent cff25b2dde
commit 248693807b
9 changed files with 899 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# Configure dovecot
---
- name: Install dovecot.conf
copy:
src: ../files/etc/dovecot/dovecot.conf
dest: /etc/dovecot/dovecot.conf
owner: root
group: root
mode: 0644
- name: Install dovecot 10-auth.conf
copy:
src: ../files/etc/dovecot/conf.d/10-auth.conf
dest: /etc/dovecot/conf.d/10-auth.conf
owner: root
group: root
mode: 0644
- name: Install dovecot 10-mail.conf
copy:
src: ../files/etc/dovecot/conf.d/10-mail.conf
dest: /etc/dovecot/conf.d/10-mail.conf
owner: root
group: root
mode: 0644
- name: Install dovecot 10-master.conf
copy:
src: ../files/etc/dovecot/conf.d/10-master.conf
dest: /etc/dovecot/conf.d/10-master.conf
owner: root
group: root
mode: 0644

View File

@@ -9,3 +9,5 @@
- include: bzflag.yml
- include: minetest.yml
- include: minecraft.yml
- include: dovecot.yml
- include: postfix.yml

View File

@@ -0,0 +1,9 @@
# Configure postfix
---
- name: Install postix main.cf
copy:
src: ../files/etc/postfix/main.cf
dest: /etc/postfix/main.cf
owner: root
group: root
mode: 0644