After a recent Thunderbird update overwrote much of my non-default configuration I decided to give Kmail another go. But the Kmail import tool has created one Kmail directory per message, so each message in Thunderbird folder “Whatever” is saved at (Whatever > cur > messageId > message).
Does anyone know how to fix this, or better still, how to stop it happening in the first place?
This problem has been reported before but apparently without any resolution, e.g. here in 2011 https://forums.opensuse.org/t/kmail-import-mails-from-thunderbird/74140 and here in 2020 https://forum.kde.org/viewtopic.php%3Ff=215&t=167960.html
The Thunderbird mail is stored in maildir format.