I'm in the same boat. I have nothing helpful to add, but I can tell you what
DOESN'T
work, maybe this will save you some time:
1. Replying and telling them what kind of opportunities you're actually interested in. That doesn't matter to them. Those who use the "spray and pray" approach don't seem to care if there's little chance of a good match.
2. Replying and telling recruiters to kill themselves. Although this is quite fun, they seem immune to the insult.
3. Clicking the unsubscribe links in their emails. In fact I think this may make things worse (because you've just confirmed that your address is active).
4. Flagging them as spam. Most of them are advanced enough to circumvent most spam filters.
5. Setting up filter rules in your inbox based on the "from" address or subject. Many recruiters never re-use those kinds of things.
6. Converting your resume to image format before posting it on the job boards (so the text isn't searchable). Not sure why this doesn't work, but it doesn't.
7. Adding a disclaimer to your resume begging/pleading with recruiters not to contact you. They ignore it, or think that it doesn't apply to them.
Sigh....
I guess the only option we have left is to deliberately try and crash the tech economy. If we succeed, that should get rid of the recruiters pretty quick. Let's split up the tasks: I'll start raising a Billion dollar seed round for my sandwich cart, you start working on a social network for dolphins. Okay team, let's do this.