maildir: refactored configuration + possibility to force mailbox from config