From 566b5729a5b01de6dd49701b636ef13cfd84144f Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Mon, 7 Nov 2022 00:09:25 +0100
Subject: [PATCH] fix(dovecot): Increase number of imap idle connection tests

Given that currently a lot of connections look broken and result quite delayed
mail delivery adjusting this interval will hopefully help to keep imap
connections alive and therefore delivering emails in realtime.
---
 charts/mok/Chart.yaml              | 2 +-
 charts/mok/README.md               | 4 ++--
 charts/mok/values.yaml             | 2 +-
 images/dovecot/.release            | 2 +-
 images/dovecot/config/dovecot.conf | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/charts/mok/Chart.yaml b/charts/mok/Chart.yaml
index 858b97c5f..e8e5cbdd8 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.7.2
+version: 0.8.0
 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 e177905b6..60a3e6df9 100644
--- a/charts/mok/README.md
+++ b/charts/mok/README.md
@@ -1,6 +1,6 @@
 # mok
 
-![Version: 0.7.2](https://img.shields.io/badge/Version-0.7.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
+![Version: 0.8.0](https://img.shields.io/badge/Version-0.8.0-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.
 
@@ -23,7 +23,7 @@ Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that run
 | dovecot.affinity | object | `{}` |  |
 | dovecot.image.pullPolicy | string | `"IfNotPresent"` |  |
 | dovecot.image.repository | string | `"quay.io/shivering-isles/dovecot"` | dovecot container image |
-| dovecot.image.tag | string | `"0.1.2"` | Overrides the image tag whose default is "latest" |
+| dovecot.image.tag | string | `"0.2.0"` | Overrides the image tag whose default is "latest" |
 | dovecot.imagePullSecrets | list | `[]` | pull secret to access the afore defined image |
 | dovecot.nodeSelector | object | `{}` |  |
 | dovecot.podAnnotations | object | `{}` |  |
diff --git a/charts/mok/values.yaml b/charts/mok/values.yaml
index 8639ae59d..47eae5e3b 100644
--- a/charts/mok/values.yaml
+++ b/charts/mok/values.yaml
@@ -126,7 +126,7 @@ dovecot:
     repository: quay.io/shivering-isles/dovecot
     pullPolicy: IfNotPresent
     # -- Overrides the image tag whose default is "latest"
-    tag: "0.1.2"
+    tag: "0.2.0"
 
   # -- pull secret to access the afore defined image
   imagePullSecrets: []
diff --git a/images/dovecot/.release b/images/dovecot/.release
index f1433f7d3..9990762bd 100644
--- a/images/dovecot/.release
+++ b/images/dovecot/.release
@@ -1 +1 @@
-release=0.1.2
+release=0.2.0
diff --git a/images/dovecot/config/dovecot.conf b/images/dovecot/config/dovecot.conf
index 2a2bf3208..fda92e08d 100644
--- a/images/dovecot/config/dovecot.conf
+++ b/images/dovecot/config/dovecot.conf
@@ -116,7 +116,7 @@ verbose_proctitle = yes
 ## Protocols
 
 protocol imap {
-  imap_idle_notify_interval = 29 mins
+  imap_idle_notify_interval = 5 mins
   mail_max_userip_connections = 20
   mail_plugins = " quota imap_quota imap_sieve"
 }
-- 
GitLab