From 1c782e3bc2323dbab7eb69094c925005d6daa5d5 Mon Sep 17 00:00:00 2001 From: Patrick Niebeling Date: Wed, 6 Nov 2024 23:44:54 +0100 Subject: [PATCH] Fix Signed-off-by: Patrick Niebeling --- Stable2.0/docker-entrypoint.sh | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/Stable2.0/docker-entrypoint.sh b/Stable2.0/docker-entrypoint.sh index 1c7bae0..b94f8e4 100644 --- a/Stable2.0/docker-entrypoint.sh +++ b/Stable2.0/docker-entrypoint.sh @@ -6,29 +6,6 @@ chmod 755 /var/lib/rspamd mkdir -p /etc/rspamd/custom -# Fix missing default global maps, if any -# These exists in UI and should not be removed -touch /etc/rspamd/custom/global_mime_from_blacklist.map \ - /etc/rspamd/custom/global_rcpt_blacklist.map \ - /etc/rspamd/custom/global_smtp_from_blacklist.map \ - /etc/rspamd/custom/global_smtp_domain_blacklist.map \ - /etc/rspamd/custom/global_ip_blacklist.map \ - /etc/rspamd/custom/global_mime_from_whitelist.map \ - /etc/rspamd/custom/global_rcpt_whitelist.map \ - /etc/rspamd/custom/global_smtp_domain_whitelist.map \ - /etc/rspamd/custom/global_smtp_from_whitelist.map \ - /etc/rspamd/custom/global_ip_whitelist.map \ - /etc/rspamd/custom/bad_languages.map \ - /etc/rspamd/custom/sa-rules \ - /etc/rspamd/custom/rspamd_trusted.map \ - /etc/rspamd/custom/mailcow_networks.map \ - /etc/rspamd/custom/fishy_tlds.map \ - /etc/rspamd/custom/bad_words.map \ - /etc/rspamd/custom/bad_asn.map \ - /etc/rspamd/custom/bad_words_de.map \ - /etc/rspamd/custom/bulk_header.map \ - /etc/rspamd/custom/bad_header.map - # If DQS KEY is set in mailcow.conf add Spamhaus DQS RBLs if [[ ! -z ${SPAMHAUS_DQS_KEY} ]]; then cat </etc/rspamd/custom/dqs-rbl.conf