How can I replace the smtp server configured in discourse?

FYI I’ve changed the title, as no SMTP server is “installed”.