quota_max_mail_size and dsync

Edgaras Lukoševičius edgaras.lukosevicius at gmail.com
Mon Feb 15 16:41:45 EET 2021


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



More information about the dovecot mailing list