def METHOD_NAME(target_sat):
    """Backup & purge local mailbox of the Satellite's root@localhost user.
    Restore it afterwards.
    """
    root_mailbox = '/var/spool/mail/root'
    root_mailbox_backup = f'{root_mailbox}-{gen_string("alphanumeric")}.bak'
    target_sat.execute(f'cp -f {root_mailbox} {root_mailbox_backup}')
    target_sat.execute(f'truncate -s 0 {root_mailbox}')
    yield root_mailbox
    target_sat.execute(f'mv -f {root_mailbox_backup} {root_mailbox}')