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@domain.tld): Info: imapc(remote.imap.host.tld): Connected to II.III.III.II:PPP (local II.III.III.II:PPPPP) dsync(local@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@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@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@domain.tld): Info: imapc(remote.imap.host.tld): Connected to II.III.III.II:PPP (local II.III.III.II:PPPPP) dsync(local@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@domain.tld): Error: Mailbox INBOX.Sent: Saving failed: Mail size is larger than the maximum size allowed by server configuration
participants (2)
-
Aki Tuomi
-
Edgaras Lukoševičius