Skip to content

Commit

Permalink
Increase number of logged in IMAP sessions to 20000
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Jul 1, 2024
1 parent 635b5de commit 8534b80
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
- replace `bash` with `/bin/sh`
([#334](https://github.com/deltachat/chatmail/pull/334))

- Increase number of logged in IMAP sessions to 20000
([#335](https://github.com/deltachat/chatmail/pull/335))

## 1.3.0 - 2024-06-06

- don't check necessary DNS records on cmdeploy init anymore
Expand Down
16 changes: 16 additions & 0 deletions cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ mail_debug = yes
# master: Warning: service(stats): client_limit (1000) reached, client connections are being dropped
default_client_limit = 20000

# Increase number of logged in IMAP connections.
# Each connection is handled by a separate `imap` process.
# `imap` process should have `client_limit=1` as described in
# <https://doc.dovecot.org/configuration_manual/service_configuration/#service-limits>
# so each logged in IMAP session will need its own `imap` process.
#
# If this limit is reached,
# users will fail to LOGIN as `imap-login` process
# will accept them logging in but fail to transfer logged in
# connection to `imap` process until someone logs out and
# the following warning will be logged:
# Warning: service(imap): process_limit (1024) reached, client connections are being dropped
service imap {
process_limit = 20000
}

mail_server_admin = mailto:root@{{ config.mail_domain }}
mail_server_comment = Chatmail server

Expand Down

0 comments on commit 8534b80

Please # to comment.