Qmf stores message data files under QMail::dataPath()/mail/ and full paths in sql. Moving the dataPath elsewhere then breaks those references as experienced on trying to move existing data to .local/share.
Could be best if upstream qmf changed the database to store relative paths, and migrated the existing data.