Repair a unix-mailbox with formail

If your standard mailbox is corrupted, which happens to me all the time, you can use the following:

formail -ds </var/spool/mail/root >/opt/a
mutt -f /opt/a
rm -f /var/spool/mail/root
 
knowwiki/shorties/mbox_repair.txt · Last modified: 2006/03/26 18:57