Yes, it's a scam. If you don't want to receive private messages from these spammers, it's probably best to go into your forum profile settings and make sure that "show when i'm online" is not selected.