LERM handles Exchange corruption issues in two ways. First, it recovers mailboxes from offline EDB files in case the backup of the exchange database is already available. Secondly, if no backup is available, it extracts data from corrupt EDB files.