MySpace today announced it has filed a federal lawsuit against a well-known spammer who allegedly used the popular social networking site to send millions of messages promoting websites that hawked items such as ring tones and Polo shirts.