It seems that would depend on, or change according to, each individual relay.
>If spam is a concern for a relay, it can require payment for publication or some other form of authentication, such as an email address or phone, and associate these internally with a pubkey that then gets to publish to that relay — or other anti-spam techniques, like hashcash or captchas. If a relay is being used as a spam vector, it can easily be unlisted by clients, which can continue to fetch updates from other relays.[0]
> The default settings allow for this, so you will want to change them. To do so, open the app and head to Settings -> Privacy and Security -> Groups & Channels and check off My Contacts instead of Everybody. You can also exclude specific contacts (or include specific users who aren't in your contacts).
Sounds like Usenet. What will it do about spam?