Yahoo Inc. has filed a lawsuit against an unknown group of individuals for allegedly sending unsolicited e-mail messages to Internet users claiming that recipients had won a lottery or a prize from Yahoo.