Can I setup domain-level or server-level filters and black/whitelists?

I’m migrating email for multiple users and domains from cPanel accounts to MiaB. So far, so good. Is there a way to setup filters, whitelists and blacklists at the domain-level (at least) or the server-level (preferred), rather than per mail user through RoundCube? I imagine there is and I’ll learn it’s only accessible via the console. Nevertheless, I’m asking anyway. Thanks.

Spamassassin has a that lives in /etc/mail/spamassassin.

You should be able to put rules in there and reload it.