use PPA for Rspamd

This commit is contained in:
georglauterbach 2023-12-04 00:38:39 +01:00
parent cf0bf59698
commit 1861718cc1
No known key found for this signature in database
GPG key ID: F367F7C43C118578
2 changed files with 10 additions and 0 deletions

View file

@ -22,6 +22,9 @@ All notable changes to this project will be documented in this file. The format
- updated note about Rspamd on ARM64 lacking behind in version
- **Internal:**
- Postfix configures `virtual_mailbox_maps` and `virtual_transport` during startup instead of using defaults (configured for Dovecot) via our `main.cf` ([#3681](https://github.com/docker-mailserver/docker-mailserver/pull/3681))
- `packages.sh` now uses `/etc/os-release` to determine the release name of Debian
- removed custom installations of Fail2Ban, getmail6 and Rspamd
- use official Rspamd PPA on AMD64; no PPA is used on ARM64
### Fixed

View file

@ -31,6 +31,13 @@ function _pre_installation_steps() {
)
apt-get "${QUIET}" install --no-install-recommends "${EARLY_PACKAGES[@]}" 2>/dev/null
_log 'trace' 'Adding Rspamd PPA'
curl -sSfL https://rspamd.com/apt-stable/gpg.key | gpg --dearmor >/etc/apt/trusted.gpg.d/rspamd.gpg
echo "deb [signed-by=/etc/apt/trusted.gpg.d/rspamd.gpg] http://rspamd.com/apt-stable/ ${VERSION_CODENAME} main" >/etc/apt/sources.list.d/rspamd.list
_log 'trace' 'Updating package index after adding PPAs'
apt-get "${QUIET}" update
_log 'trace' 'Upgrading packages'
apt-get "${QUIET}" upgrade
}