Hello, as we have enabled quota_max_mail_size, dsync is now having problems moving oversized emails between servers. Is there a way to configure dovecot (dsync) to allow syncing of emails larger than quota_max_mail_size but keep limiting clients over imap/pop/lmtp? The error logged is: dsync(local at domain.tld): Info: imapc(remote.imap.host.tld): Connected to II.III.III.II:PPP (local II.III.III.II:PPPPP) dsync(local at domain.tld): Warning: Failed to copy source UID=24 mail: Mail size is larger than the maximum size allowed by server configuration - falling back to regular saving dsync(local at domain.tld): Error: Mailbox INBOX.Sent: Saving failed: Mail size is larger than the maximum size allowed by server configuration
protocol doveadm { plugin { quota_max_mail_size = -1 } } this might work. Alternatively you can define quota_max_mail_size for protocols you need it for. Aki> On 15/02/2021 16:41 Edgaras Luko?evi?ius <edgaras.lukosevicius at gmail.com> wrote: > > > Hello, > > as we have enabled quota_max_mail_size, dsync is now having problems > moving oversized emails between servers. > > Is there a way to configure dovecot (dsync) to allow syncing of emails > larger than quota_max_mail_size but keep limiting clients over > imap/pop/lmtp? > > The error logged is: > > dsync(local at domain.tld): Info: imapc(remote.imap.host.tld): Connected to > II.III.III.II:PPP (local II.III.III.II:PPPPP) > dsync(local at domain.tld): Warning: Failed to copy source UID=24 mail: > Mail size is larger than the maximum size allowed by server > configuration - falling back to regular saving > dsync(local at domain.tld): Error: Mailbox INBOX.Sent: Saving failed: Mail > size is larger than the maximum size allowed by server configuration