Postfix makes it super easy to use an external SMTP relay, the config is actually just need this config value in your Postfix config ( Using gmail as the example SMTP server ):
relayhost = smtp-relay.gmail.com:25
And then you may need to set-up a sasl_passwd file and the config options to use that password auth. Some examples can be found in this link I found with a quick search: