'This exposes at the root local mailboxes which would not be listed
otherwise, because their path falls outside of the user\'s home
directory.'

def _discover_local_mailboxes(self):

    user_home = os.path.expanduser('~')
    for (mbx_id, path, ms) in self.config.get_mailboxes():
        path = FilePath(path)
        if ((path.raw_fp[:4] != 'src:') and (not vfs.abspath(path).startswith(user_home))):
            path = FilePath(os.path.normpath(path.raw_fp))
            if (not [e for e in self.entries if (self.entries[e][0] == path)]):
                self.entries[mbx_id] = (path, path.display_basename())
