Final email tweaks to delivery without errors.
1. Get Exim from backports because SRS. 2. Get rspamd from rspamd repo, because that works with Exim. 3. Fix permissions issue on delivery via Dovecot.
This commit is contained in:
parent
c69b677d83
commit
61f1751416
|
@ -1,6 +1,9 @@
|
||||||
|
# Stock exim4 gives 'unknown condition "inbound_srs".
|
||||||
|
# the backports version to start.
|
||||||
exim4:
|
exim4:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: exim4-daemon-heavy
|
- name: exim4-daemon-heavy
|
||||||
|
- fromrepo: bullseye-backports
|
||||||
|
|
||||||
exim4_conf:
|
exim4_conf:
|
||||||
file.recurse:
|
file.recurse:
|
||||||
|
@ -17,16 +20,6 @@ exim4_certs_group:
|
||||||
- addusers:
|
- addusers:
|
||||||
- Debian-exim
|
- Debian-exim
|
||||||
|
|
||||||
# To deliver using the Dovecot LDA without getting a perms
|
|
||||||
# error on /run/dovecot/stats-writer, the Exim user must be in
|
|
||||||
# the dovecot group.
|
|
||||||
exim4_dovecot_group:
|
|
||||||
group.present:
|
|
||||||
- name: dovecot
|
|
||||||
- system: true
|
|
||||||
- addusers:
|
|
||||||
- Debian-exim
|
|
||||||
|
|
||||||
exim4_dkim_private_keys:
|
exim4_dkim_private_keys:
|
||||||
file.managed:
|
file.managed:
|
||||||
- mode: 0640
|
- mode: 0640
|
||||||
|
|
|
@ -6,6 +6,7 @@ dovecot_home:
|
||||||
driver = pipe
|
driver = pipe
|
||||||
#command = sh -c "/usr/bin/bogofilter -e -u -p | /usr/lib/dovecot/deliver"
|
#command = sh -c "/usr/bin/bogofilter -e -u -p | /usr/lib/dovecot/deliver"
|
||||||
command = /usr/lib/dovecot/deliver
|
command = /usr/lib/dovecot/deliver
|
||||||
|
group = dovecot
|
||||||
message_prefix =
|
message_prefix =
|
||||||
message_suffix =
|
message_suffix =
|
||||||
log_output
|
log_output
|
||||||
|
|
|
@ -1,8 +1,16 @@
|
||||||
# Stock bullseye rspamd doesn't start.
|
# Stock bullseye rspamd doesn't start. bullseye-backports doesn't
|
||||||
|
# work with Exim.
|
||||||
|
rspamd_repo:
|
||||||
|
pkgrepo.managed:
|
||||||
|
- name: deb [arch=arm64] http://rspamd.com/apt-stable/ bullseye main
|
||||||
|
- dist: bullseye
|
||||||
|
- key_url: https://rspamd.com/apt-stable/gpg.key
|
||||||
|
- file: /etc/apt/sources.list.d/rspamd.list
|
||||||
|
|
||||||
rspamd:
|
rspamd:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: rspamd
|
- name: rspamd
|
||||||
- fromrepo: bullseye-backports
|
- fromrepo: bullseye
|
||||||
|
|
||||||
rspamd_conf:
|
rspamd_conf:
|
||||||
file.recurse:
|
file.recurse:
|
||||||
|
|
Loading…
Reference in New Issue