I run my own IMAP and SMTP servers, for personal and family use. After several years, I've got quite a large volume of emails. I'd like to export the oldest ones, while keeping the ability to read them. After some time spent on the web, I found the following solution, that seems to fulfill my needs:
[mailbox-Local]
Path=<pathToNASFolderWhereMaildirsAre>
Type=LibBalsaMailboxMaildir
Name=LocalImapEmails