# Stock bullseye rspamd didn't start. bullseye-backports didn't # work with Exim. rspamd_repo: pkgrepo.managed: - name: deb [arch=arm64] http://rspamd.com/apt-stable/ bookworm main - dist: bookworm - key_url: https://rspamd.com/apt-stable/gpg.key - file: /etc/apt/sources.list.d/rspamd.list rspamd: pkg.installed: - name: rspamd - fromrepo: bookworm redis_server: pkg.installed: - name: redis-server 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 redis_service: service.running: - name: redis-server - enable: true - watch: - pkg: redis-server