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 b71339b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@

- set CAA record flags to 0

- add IMAP capabilities instead of overwriting them
([#413](https://github.com/deltachat/chatmail/pull/413))


## 1.4.1 2024-07-31

Expand Down
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 b71339b

Please sign in to comment.