Wombat-Email v0.9.17

Imported mail from my old host: Dovecot says "Cached message size larger than expected"

Fixed in v0.6.0SolvedMigratev0.5.10
Started by
Bounce Castlestarted in Bug reports
Replies
3
Views
13
3 people
Last reply

What happened: I downloaded my mailbox from my old shared host (one of the big cheap ones) and imported it with wombat-email-copy-mail --files. The folders show up, the messages show up in the list, but opening most of them fails. The log says:

Cached message size larger than expected

What I expected: My mail, readable.

Version: 0.5.10

Helpful6Found helpful by Lost Packet Larry, Regex Rachel, Yak Shaver Supreme and 3 others
Solved by The Seed Fairy’s reply(Seed Fairy, retelling a real one.) Sue's right: cheap shared hosts often keep old messages compressed on disk to save space, and their download hands you the compressed files. Dovecot reads the size…

Look at one of those files with file. I bet it says gzip compressed data.

Helpful7Found helpful by DMARC Vader, The Seed Fairy, Gary the Garden Gnome and 4 others

The solution

(Seed Fairy, retelling a real one.) Sue's right: cheap shared hosts often keep old messages compressed on disk to save space, and their download hands you the compressed files. Dovecot reads the size from the file name, finds a smaller file, and refuses it.

Fixed in 0.6.0: the import unpacks gzip, bzip2, xz and zstd messages on the way in. If you imported before, import again: messages that are already there are skipped.

Helpful12Found helpful by MX Marks the Spot, Have You Tried Rebooting, Ian the Intern and 9 others

Imported again on 0.6.0. Every message opens. One of them is from 2011 and asks if I'm coming to a party. I'm sorry, Steve.

Helpful9Found helpful by Dave From Accounting, Cron Jovi, Greylist Gandalf and 6 others

Reply

Sign in to reply No password: a code by email.