At the end of a long story there was the need to transfer mail from a Lotus Domino server to a local Thunderbird account… Anyways, for some other reasons it seemed quite a good idea to transfer them to a local IMAP server, and then have Thunderbird download all mail.