Discourse

  • Discourse Charm Maintainers
Channel Revision Published Runs on
latest/stable 28 08 Apr 2021
Ubuntu 20.04
juju deploy discourse-charmers-discourse-k8s
Show information

Platform:

How to configure SMTP

To configure Discourse’s SMTP you’ll have to set the following configuration options with the appropriate values for your SMTP server by running juju config [charm_name] [configuration]=[value].

Set smtp_addressto the SMTP server IP or hostname, smtp_port for the SMTP sever port if different from the default and smtp_domain to set the sender domain address.

If authentication is needed, smtp_authentication will need to be set to the appropriate authentication method, valid values are none, login, plain, cram_md5. The credentials can be set with smtp_usernameand smtp_password.

You can enable/disable SMTP over TLS with the smtp_force_tls option and handle starttls with smtp_enable_start_tls.
If needed, the verification of the SSL certs can be turned on and off with smtp_openssl_verify_mode.

For more details on the configuration options and their default values see the configuration reference.


Help improve this document in the forum (guidelines). Last updated 8 months ago.