I'm using mbsync to copy emails from one IMAPStore to another. However, some emails allowed on the first IMAPStore exceed the per-message size limit of the second, causing mbsync to give an error: "IMAP error: unexpected BYE response: command or literal size is too large" and quit.

Any suggestions on how best to handle situations like this? Is there some way to filter emails by size, etc.?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.