We have just switched servers from an internal linux server to an external server hosted by someone else. We have some old messages in /var/mail/[username] on our old server and I would like to send them to people's new email boxes. I tried:
cat /var/spool/mail/[username] | formail -s sendmail -io email@example.com
but I did not receive the emails at my gmail address. Any ideas why this didnt work? Anything else that I could try?
Thanks for your help!