rgladwell / imap-upload

Python script for uploading a local mbox file to IMAP4 server.
Other
130 stars 30 forks source link

Maximum message size exceeded are warnings (New option) #52

Closed adriangibanelbtactic closed 2 years ago

adriangibanelbtactic commented 2 years ago

When debugging (or with daily usage) you can find many of these messages that they are not being saved onto the imap server.

Many of them are not saved because their size is bigger than the maximum message size that the imap server allows.

In that case a message similar to APPEND command error: BAD [b'maximum message size exceeded'] appears.

My usecase for these messages is the following one:

However I don't think this new option has to be enabled by default for these reasons:

  --maximum-size-exceeded-are-warnings
                        Treat 'maximum size exceeded messages' as warnings and
                        not as errors.
rgladwell commented 2 years ago

Thanks for this. Did you verify the script works as before with this flag disabled?

adriangibanelbtactic commented 2 years ago

Thanks for this. Did you verify the script works as before with this flag disabled?

Yeah, I did so.