Fix mailbox open flags