chore: Remove Pyzor + Razor packages (#4548)

This commit is contained in:
Georg Lauterbach 2025-08-17 11:00:01 +02:00 committed by GitHub
parent 726e2a5c3d
commit da61eb21a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 20 deletions

View file

@ -6,6 +6,11 @@ All notable changes to this project will be documented in this file. The format
> **Note**: Changes and additions listed here are contained in the `:edge` image tag. These changes may not be as stable as released changes.
### Removed
- **SpamAssassin:**
- Removed Pyzor + Razor due to maintenance concerns. From observations it is unlikely to have any notable regression ([#4548](https://github.com/docker-mailserver/docker-mailserver/pull/4548))
## [v15.1.0](https://github.com/docker-mailserver/docker-mailserver/compare/v15.1.0...HEAD)
> [!NOTE]

View file

@ -151,22 +151,6 @@ RUN <<EOF
chmod 644 /etc/amavis/conf.d/*
EOF
# overcomplication necessary for CI
# hadolint ignore=SC2086
RUN <<EOF
for _ in {1..10}; do
su - amavis -c "razor-admin -create"
sleep 3
if su - amavis -c "razor-admin -register"; then
EC=0
break
else
EC=${?}
fi
done
exit ${EC}
EOF
# -----------------------------------------------
# --- Fail2Ban, DKIM & DMARC --------------------
# -----------------------------------------------

View file

@ -656,8 +656,8 @@ Mail is not yet considered spam at this spam score, but for purposes like diagno
X-Spam-Level: ****
X-Spam-Status: No, score=4.162 tagged_above=2 required=4
tests=[BODY_SINGLE_WORD=1, DKIM_ADSP_NXDOMAIN=0.8,
NO_DNS_FOR_FROM=0.379, NO_RECEIVED=-0.001, NO_RELAYS=-0.001,
PYZOR_CHECK=1.985] autolearn=no autolearn_force=no
NO_DNS_FOR_FROM=0.379, NO_RECEIVED=-0.001, NO_RELAYS=-0.001]
autolearn=no autolearn_force=no
```
!!! info "The `X-Spam-Score` is `4.162`"

View file

@ -83,8 +83,8 @@ function _install_packages() {
local ANTI_VIRUS_SPAM_PACKAGES=(
clamav clamav-daemon
# spamassassin is used only with amavisd-new, while pyzor + razor are used by spamassassin
amavisd-new spamassassin pyzor razor
# spamassassin is used only with amavisd-new
amavisd-new spamassassin
)
# predominantly for Amavis support