2023-12-06 16:03:52 +00:00
|
|
|
# Stock bullseye rspamd didn't start. bullseye-backports didn't
|
2023-05-18 16:54:48 +01:00
|
|
|
# work with Exim.
|
|
|
|
rspamd_repo:
|
|
|
|
pkgrepo.managed:
|
2023-12-06 16:03:52 +00:00
|
|
|
- name: deb [arch=arm64] http://rspamd.com/apt-stable/ bookworm main
|
|
|
|
- dist: bookworm
|
2023-05-18 16:54:48 +01:00
|
|
|
- key_url: https://rspamd.com/apt-stable/gpg.key
|
|
|
|
- file: /etc/apt/sources.list.d/rspamd.list
|
|
|
|
|
2023-05-17 16:39:57 +01:00
|
|
|
rspamd:
|
|
|
|
pkg.installed:
|
|
|
|
- name: rspamd
|
2023-12-06 16:03:52 +00:00
|
|
|
- fromrepo: bookworm
|
2023-05-17 16:39:57 +01:00
|
|
|
|
2023-09-06 14:24:35 +01:00
|
|
|
redis_server:
|
|
|
|
pkg.installed:
|
|
|
|
- name: redis-server
|
|
|
|
|
2023-05-17 16:39:57 +01:00
|
|
|
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
|
2023-09-06 14:24:35 +01:00
|
|
|
|
|
|
|
redis_service:
|
|
|
|
service.running:
|
|
|
|
- name: redis-server
|
|
|
|
- enable: true
|
|
|
|
- watch:
|
|
|
|
- pkg: redis-server
|