You've already forked docker-mailserver
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:
16
Dockerfile
16
Dockerfile
@ -152,22 +152,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 --------------------
|
||||
# -----------------------------------------------
|
||||
|
@ -83,8 +83,7 @@ function _install_packages() {
|
||||
|
||||
local ANTI_VIRUS_SPAM_PACKAGES=(
|
||||
clamav clamav-daemon
|
||||
# spamassassin is used only with amavisd-new, while pyzor + razor are used by spamassasin
|
||||
amavisd-new spamassassin pyzor razor
|
||||
amavisd-new spamassassin
|
||||
)
|
||||
|
||||
# predominantly for Amavis support
|
||||
|
Reference in New Issue
Block a user