2
0
mirror of https://github.com/tomav/docker-mailserver synced 2025-08-22 09:57:53 +00:00

chore: remove Pyzor & Razor

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
Georg Lauterbach 2025-08-10 19:34:43 +02:00
parent c1a5eabc94
commit 3e40cc67af
No known key found for this signature in database
GPG Key ID: D84CD4AA46D7F099
3 changed files with 4 additions and 20 deletions

View File

@ -151,22 +151,6 @@ RUN <<EOF
chmod 644 /etc/amavis/conf.d/* chmod 644 /etc/amavis/conf.d/*
EOF 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 -------------------- # --- 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-Level: ****
X-Spam-Status: No, score=4.162 tagged_above=2 required=4 X-Spam-Status: No, score=4.162 tagged_above=2 required=4
tests=[BODY_SINGLE_WORD=1, DKIM_ADSP_NXDOMAIN=0.8, tests=[BODY_SINGLE_WORD=1, DKIM_ADSP_NXDOMAIN=0.8,
NO_DNS_FOR_FROM=0.379, NO_RECEIVED=-0.001, NO_RELAYS=-0.001, NO_DNS_FOR_FROM=0.379, NO_RECEIVED=-0.001, NO_RELAYS=-0.001]
PYZOR_CHECK=1.985] autolearn=no autolearn_force=no autolearn=no autolearn_force=no
``` ```
!!! info "The `X-Spam-Score` is `4.162`" !!! info "The `X-Spam-Score` is `4.162`"

View File

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