Don't bother writing the senders. That only confirms your address so they send you more.
Turn on Yahoo's SPAM filtering. When ever you get a spam email, click the box to select it and then choose the option at the top to mark it as SPAM. Their system will adapt the SPAM filter to the things you mark as SPAM. You can select multiple messages on the same screen and mark them all at once.