MythicSalt/states/email/rspamd.sls

21 lines
410 B
Plaintext
Raw Normal View History

# Stock bullseye rspamd doesn't start.
rspamd:
pkg.installed:
- name: rspamd
- fromrepo: bullseye-backports
rspamd_conf:
file.recurse:
- name: /etc/rspamd/local.d
- dir_mode: '0755'
- file_mode: '0644'
- source: salt://email/rspamd/local.d
rspamd_service:
service.running:
- name: rspamd
- enable: true
- watch:
- pkg: rspamd
- file: /etc/rspamd/local.d