You have to exit from your mailbox before any messages marked for deletion are actually deleted.