the spammers can insert any address into the from field - they use their own smtp servers so the from address doesn't matter. (your email account was NOT compromised - they just faked the from field._
The only way to block the spam is with a rule that rejects mail from your own address- which is usually fine, unless you send yourself stuff from a website and enter your own address. The other way to block it is with dkim and spf set on the server (the admin needs to do this) - but if you reject mail with invalid spf or dkim records, you could block valid email.