web-education.postfix-dkim
ansible-dkim
Ansible-Rolle für opendkim mit Postfix-Konfiguration auf Debian
Beispiel-Playbook
---
- name: Postfix und opendkim installieren und konfigurieren
hosts: mail
remote_user: root
vars_files: ['var_mail.yml']
pre_tasks:
- name: Sicherstellen, dass das Verzeichnis /etc/opendkim/keys existiert
file: path=/etc/opendkim/keys state=directory
- name: DKIM-Private-Keys hochladen
copy: src=keys/{{ item.key }} dest=/etc/opendkim/keys mode=0400
with_items: "{{ dkim_domains }}"
roles:
- { role: ansible-dkim }
var_mail.yml
:
---
admin_email: '[email protected]'
postfix_myhostname: 'mailing.domain.com' # ehlo Hostname
dkim_domains:
- domain: 'domain1.com'
selector: 'domain1'
key: 'domain1.private'
- domain: 'domain2.fr'
selector: 'domain2'
key: 'domain2.private'
Über das Projekt
A role to install and configure Postfix and OpenDKIM for multiple domains with multiple domain keys
Installieren
ansible-galaxy install web-education.postfix-dkim
Lizenz
bsd-3-clause
Downloads
81
Besitzer
Startup EdTech, notre vocation est de concevoir des solutions qui font évoluer les pratiques pédagogiques et favorisent la réussite scolaire