Blog‎ > ‎

Resending email from an mbox

posted Feb 11, 2009, 12:15 PM by Jade Rubick

I forgot to forward email from an account to another account, and a bunch of email had been sitting around in an mbox file.

So I created a little script to send the email gradually (so as to not hit Gmail's filters):

>cat mysendmail
sleep 10
/usr/sbin/sendmail myemailaddress@gmail.com

Then I send it through

grep -v ^Delivered-To: /home/safe/testmbox | formail -s /home/safe/mysendmail &

Comments