From e8511d9b2e5b18a2df32d640fb5561380fc50b03 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Thu, 14 Jul 2022 18:18:43 +0200 Subject: [PATCH] fix(mok): Add missing persistentence for sieve data This patch fixes the absense of persistence for sieve rules, due to being layed out in parallel to the `/srv/mail/mailbox` directory in the dovecot container. By moving the mountpoint to `/var/mail` the sieve rules should be persisted along the way with the mailboxes. BREAKING CHANGE: This patch adjusts the mount location for mail data, which will require manual interaction. --- charts/mok/Chart.yaml | 2 +- charts/mok/README.md | 2 +- charts/mok/templates/dovecot.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/mok/Chart.yaml b/charts/mok/Chart.yaml index 051e1ad44..a1b602cf4 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.4.3 +version: 0.5.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 1990f35fe..935cc1f40 100644 --- a/charts/mok/README.md +++ b/charts/mok/README.md @@ -1,6 +1,6 @@ # mok -  +  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. diff --git a/charts/mok/templates/dovecot.yaml b/charts/mok/templates/dovecot.yaml index 95d55ff2d..32e470a49 100644 --- a/charts/mok/templates/dovecot.yaml +++ b/charts/mok/templates/dovecot.yaml @@ -110,7 +110,7 @@ spec: {{- toYaml .Values.dovecot.securityContext | nindent 12 }} volumeMounts: - name: vmail - mountPath: /srv/mail/mailboxes/ + mountPath: /srv/mail/ - name: users mountPath: "/srv/passdb/" readOnly: true -- GitLab