Add SRS support with postsrsd

This commit is contained in:
Julian Rother 2023-04-01 03:16:45 +02:00
parent 64aade5949
commit 1e105b4da7
No known key found for this signature in database
GPG key ID: 8F9B6AE9BAAE4899
5 changed files with 93 additions and 1 deletions

View file

@ -18,6 +18,23 @@
notify:
- restart prometheus-postfix-exporter
- name: install postsrsd
when: postfix.srs.enable
apt:
pkg:
- postsrsd
- name: configure postsrsd
when: postfix.srs.enable
template:
src: postsrsd.j2
dest: /etc/default/postsrsd
owner: root
group: root
mode: 0644
notify:
- restart postsrsd
- name: Install and setup utilities for LDAP
when: postfix.ldap.enable
block: