1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-07 23:03:10 +02:00

chore: remove Pyzor and Razor

This simplifies the build process again. See other issues in #4351

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
Georg Lauterbach
2025-08-02 13:46:06 +02:00
parent 797f36524f
commit 870fcfce61
2 changed files with 1 additions and 18 deletions

View File

@ -152,22 +152,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

@ -83,8 +83,7 @@ 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 spamassasin amavisd-new spamassassin
amavisd-new spamassassin pyzor razor
) )
# predominantly for Amavis support # predominantly for Amavis support