New answers tagged spam-prevention
I've had such a problem. I created a filter in Gmail like this: from:(email@example.com) subject:(sent you) and checked Delete to trash as an action. So normal mail from YouTube will pass and the spam will go to trash.
I'm not at all sure that Google's spam filters would be triggered by an import. SPAM filtering is normally done at the receipt time. There are, however, Linux tools you can train with a bunch of emails, still don't think you would be able to use that to clean out the existing MBOX though. You could instead try opening the file in Thunderbird or another ...
Top 50 recent answers are included