I am running a self-written email server based on Greenmail Java.
There is an issue with attachments and the general message size.
A normal text-only message is requested from TB with:
Code: Select all
ID fetch 33 (UID RFC822.SIZE BODY[])
Then TB is only able to fetch the first chunk. After this, it issues the "logout" command and closes the connection, which ultimately leaves the message corrupted.
This is the typical single chunk command with a partial:
Code: Select all
UID fetch 34 (UID RFC822.SIZE BODY[]<0.65536>)
This only happens if TB is set to not download messages from the server (Account Settings -> Don't download messages ... (set to 50kB)). If it is allowed to download messages, it will just download everything on startup (by correctly requesting all chunks).
Conclusion:
Thunderbird is able to request multiple chunks of a "larger" message only if it does download the message at startup. If, however, it cannot download the message on startup (because it is disabled), it is not able to display a "multi chunk" mail (it only requests the first chunk and then closes the connection).
This seems like a bug to me, maybe somebody encountered this before?
Greetings