periwinkle
asked on
re-sending email from a mailbox during server migration
I'm moving mailservers, and for a particular user, I'd like to resend the email from his mailbox to the new server. I remember that there is a command to do this, but for the life of me, I'm drawing a blank... perhaps it was formail?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I had finally found it in my notes as:
formail -f -s sendmail user@address < /var/spool/mail/user-mailb
the -f according the man pages means to "Force formail to simply pass along any non-mailbox format (i.e., don't generate a `From ' line as the first line)."
Thanks - you get the points, and this goes into my bookmarks!