Yes, that is what a null client will provide for you and all you have to do is call the “standard” MTA on the external server, which is sendmail
which just means using any of the available options for everything using Linux to send mail. Hence the Just Works™.
I’m not saying it is the only or even the best way to send mail when using an external server, it is just a very easy and reliable way because it basically works as if there is a mail server on the local server.