N-able Mail assure or Spamexperts

Ubuntu 22.04
OVH VPS with 2 vCores, 2 GB of RAM, and 40 GB of storage.

I have been using Virtualmin for the past 15 months and have installed more than 200 servers on Virtualmin.

Now, I want to add N-able SpamExperts or MailAssure as a spam filtering solution, but I don’t know how to set it up in Virtualmin. I have tried many times without success.

How can I relay traffic through a spam filtering SMTP gateway using Virtualmin?
How can I modify MTA settings, etc., to relay traffic?

Virtualmin isn’t a mail server.

You’d follow the documentation for using Postfix with whatever tool you’re trying to use. Postfix is the default mail server in a Virtualmin system.

It probably involves configuring your MX records to point to the filtering SMTP gateway, and then configure the SMTP gateway to relay through Postfix on the Virtualmin system for delivery to users.

None of that would be specific to Virtualmin.