From b3108e328535c0e315d13b8273eba1d77fcbe7d5 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Wed, 5 Oct 2022 13:00:47 +0200
Subject: [PATCH] fix(postfix): Fix high error rate for zenhaus

This patch disables error queries from zenhaus. It requires some more
tinkering down the line, but should accept email for now.
---
 charts/mok/Chart.yaml         | 2 +-
 charts/mok/README.md          | 4 ++--
 charts/mok/values.yaml        | 2 +-
 images/postfix/.release       | 2 +-
 images/postfix/config/main.cf | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/charts/mok/Chart.yaml b/charts/mok/Chart.yaml
index aa550387b..6ac5765c8 100644
--- a/charts/mok/Chart.yaml
+++ b/charts/mok/Chart.yaml
@@ -3,7 +3,7 @@ name: mok
 description: |
   Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that runs without a database server on Kubernetes, taking advantage of configmaps and secret.
 type: application
-version: 0.6.2
+version: 0.6.3
 sources:
   - https://de.postfix.org/ftpmirror/index.html
   - https://github.com/dovecot/core
diff --git a/charts/mok/README.md b/charts/mok/README.md
index 33add2679..1d8f20db0 100644
--- a/charts/mok/README.md
+++ b/charts/mok/README.md
@@ -1,6 +1,6 @@
 # mok
 
-![Version: 0.6.2](https://img.shields.io/badge/Version-0.6.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
+![Version: 0.6.3](https://img.shields.io/badge/Version-0.6.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
 
 Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that runs without a database server on Kubernetes, taking advantage of configmaps and secret.
 
@@ -56,7 +56,7 @@ Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that run
 | postfix.hostname | string | `nil` | explicitly set postfix hostname |
 | postfix.image.pullPolicy | string | `"IfNotPresent"` |  |
 | postfix.image.repository | string | `"quay.io/shivering-isles/postfix"` | postfix container image |
-| postfix.image.tag | string | `"0.4.0"` | Overrides the image tag whose default is "latest" |
+| postfix.image.tag | string | `"0.4.1"` | Overrides the image tag whose default is "latest" |
 | postfix.imagePullSecrets | list | `[]` |  |
 | postfix.nodeSelector | object | `{}` |  |
 | postfix.podAnnotations | object | `{}` |  |
diff --git a/charts/mok/values.yaml b/charts/mok/values.yaml
index 471ba2768..613a2b342 100644
--- a/charts/mok/values.yaml
+++ b/charts/mok/values.yaml
@@ -46,7 +46,7 @@ postfix:
     repository: quay.io/shivering-isles/postfix
     pullPolicy: IfNotPresent
     # -- Overrides the image tag whose default is "latest"
-    tag: "0.4.0"
+    tag: "0.4.1"
 
   imagePullSecrets: []
 
diff --git a/images/postfix/.release b/images/postfix/.release
index 9ecf65833..802d813b7 100644
--- a/images/postfix/.release
+++ b/images/postfix/.release
@@ -1 +1 @@
-release=0.4.0
+release=0.4.1
diff --git a/images/postfix/config/main.cf b/images/postfix/config/main.cf
index 248c2a8a1..41664e218 100644
--- a/images/postfix/config/main.cf
+++ b/images/postfix/config/main.cf
@@ -98,7 +98,7 @@ postscreen_dnsbl_action = enforce
 postscreen_dnsbl_threshold = 3
 postscreen_dnsbl_allowlist_threshold = -1
 postscreen_dnsbl_sites =
-        zen.spamhaus.org*3,
+        zen.spamhaus.org=127.0.1.[2..254]*3,
         ix.dnsbl.manitu.net*3,
         bl.spamcop.net,
         b.barracudacentral.org,
-- 
GitLab