Compare commits

...

2 Commits

Author SHA1 Message Date
Jim Hague 61f1751416 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.
2023-05-18 16:54:48 +01:00
Jim Hague c69b677d83 Update Jenkins repository key. 2023-05-18 16:32:37 +01:00
4 changed files with 15 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -1,7 +1,7 @@
jenkins_repo: jenkins_repo:
pkgrepo.managed: pkgrepo.managed:
- name: deb https://pkg.jenkins.io/debian binary/ - name: deb https://pkg.jenkins.io/debian binary/
- key_url: https://pkg.jenkins.io/debian/jenkins.io.key - key_url: https://pkg.jenkins.io/debian/jenkins.io-2023.key
- file: /etc/apt/sources.list.d/jenkins.list - file: /etc/apt/sources.list.d/jenkins.list
java: java: