grep -v X-account-key yourfile | grep -v X-UIDL | ... etc ... > yournewfileassuming, of course, that you don't have those strings in any of the body of your messages.
egrep -v '^(X-account-key|X-UIDL|X-Mozilla-Status)' yourfile > yournewfile^') is both safer and faster.
posted by twiggy at 1:06 PM on April 11, 2007