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 ...
Contact your ISP and see if they can/will do anything about it. Buy a domain from a registrar that provides email services that include a mail server on which you can do sender address verification (either you have full admin control over the SMTP server and can install / configure as you wish, or their provided solution allows you, or them, to set up ...
Top 50 recent answers are included