Skip to content

Commit

Permalink
Add IMAP capabilities instead of overwriting them
Browse files Browse the repository at this point in the history
I wanted to add `COMPRESS=DEFLATE`,
but it should be added only for sessions
that are logged in because `COMPRESS`
command does not work before logging in.

Dovecot already does it correctly
if we don't overwrite the capability string.
  • Loading branch information
link2xt committed Sep 22, 2024
1 parent a6bdbb7 commit 6787293
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ mail_server_comment = Chatmail server
# <https://doc.dovecot.org/configuration_manual/quota_plugin/>
mail_plugins = zlib quota

# these are the capabilities Delta Chat cares about actually
# so let's keep the network overhead per login small
# https://github.com/deltachat/deltachat-core-rust/blob/master/src/imap/capabilities.rs
imap_capability = IMAP4rev1 IDLE MOVE QUOTA CONDSTORE NOTIFY METADATA XDELTAPUSH XCHATMAIL
imap_capability = +XDELTAPUSH XCHATMAIL


# Authentication for system users.
Expand Down

0 comments on commit 6787293

Please sign in to comment.