From 1bc33d5dc8fb745d556bddcdb2278a709c1e0141 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Mon, 5 Dec 2022 12:43:24 +0200 Subject: [PATCH] Dovecot: Add IMAP capabilities. Nextcloud Mail is having issues with the following Dovecot error: ``` failed: Invalid quoted-printable input trailer: '=' not followed by two hex digits ``` From https://forums.cpanel.net/threads/dovecot-invalid-quoted-printable-input-trailer.648081/ it appears that some capabilities are missing. Add them. --- dovecot/patch.diff | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dovecot/patch.diff b/dovecot/patch.diff index 845bb4a..411ef14 100644 --- a/dovecot/patch.diff +++ b/dovecot/patch.diff @@ -196,6 +196,15 @@ # namespace settings, you can do it by defining namespace sections. --- conf.d/20-imap.conf 2020-12-22 13:26:52.000000000 +0000 +++ conf.d/20-imap.conf 2022-12-05 07:33:47.876334736 +0000 +@@ -35,7 +35,7 @@ + + # Override the IMAP CAPABILITY response. If the value begins with '+', + # add the given capabilities on top of the defaults (e.g. +XFOO XBAR). +-#imap_capability = ++imap_capability = +I18NLEVEL=1 SORT=DISPLAY THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONTEXT=SEARCH + + # How long to wait between "OK Still here" notifications when client is + # IDLEing. @@ -95,5 +95,5 @@ # Maximum number of IMAP connections allowed for a user from each IP address. -- GitLab