Handle trucated message ids, seen on some mail servers.