From c239300154a38d28df809574aca4ca612ed61c69 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 5 Apr 2026 21:44:52 +0300 Subject: [PATCH] fix: disable rspamd-redis and correct proxmox-lvm PVC size ENABLE_RSPAMD_REDIS=0 prevents the docker-mailserver from attempting to start an embedded Redis server. The rspamd-redis subprocess was failing repeatedly due to a corrupted/empty RDB file after the recent NFS-to-proxmox-lvm storage migration. Since the DKIM signing config uses use_redis=false, Redis is not needed. Also correct the PVC storage request to match the actual provisioned size (2Gi). The mismatch was causing unnecessary PVC replacement during terraform apply. --- stacks/mailserver/modules/mailserver/main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stacks/mailserver/modules/mailserver/main.tf b/stacks/mailserver/modules/mailserver/main.tf index 5b157c49..f004be7c 100644 --- a/stacks/mailserver/modules/mailserver/main.tf +++ b/stacks/mailserver/modules/mailserver/main.tf @@ -58,6 +58,7 @@ resource "kubernetes_config_map" "mailserver_env_config" { ENABLE_RSPAMD = "1" ENABLE_OPENDKIM = "0" ENABLE_OPENDMARC = "0" + ENABLE_RSPAMD_REDIS = "0" RSPAMD_LEARN = "1" ENABLE_SRS = "1" FETCHMAIL_POLL = "120" @@ -186,7 +187,7 @@ resource "kubernetes_persistent_volume_claim" "data_proxmox" { storage_class_name = "proxmox-lvm" resources { requests = { - storage = "1Gi" + storage = "2Gi" } } }