foxcpp / maddy

✉️ Composable all-in-one mail server.
https://maddy.email
GNU General Public License v3.0
5.09k stars 245 forks source link

can sync mail from gmail to maddy via imapsync #470

Closed vtolstov closed 2 years ago

vtolstov commented 2 years ago
Err 20/50: - msg &BC8EPQQ0BDUEOgRB-/24310 {35630523} could not append ( Subject:[=?UTF-8?B?0JXQu9C60LAgNQ==?=], Date:["12-Jan-2018 17:37:32 +0000"], Size:[35630523], Flags:[\Seen] ) to folder &BC8EPQQ0BDUEOgRB-: 6960 NO [TOOBIG] Message size exceeding limit

How to increase message size limit in maddy?

foxcpp commented 2 years ago

Size of messages written via IMAP is limited via appendlimit directive for the storage.imapsql module. Default is 32 MiB. Message that caused the error is almost 33.9 MiB.

To double the limit:

storage.imapsql local_mailboxes {
  ...
  appendlimit 64M
}