Configure SMTP for outbound emails

For the system to be able to send emails, set the mail server to use and the host name of your Re:dash server. Do this by adding the lines below in the /opt/bitnami/redash/.env file inside the Redash installation directory.

The example shown below uses Gmail for outbound email. Remember to update this with equivalent values for your SMTP host or, if using Gmail, replace the USERNAME and PASSWORD placeholders with correct values for your Gmail account.

export REDASH_MAIL_SERVER="" # default: localhost
export REDASH_MAIL_PORT="587" # default: 25
export REDASH_MAIL_USE_TLS="true" # default: False
export REDASH_MAIL_USE_SSL="true" # default: False
export REDASH_MAIL_USERNAME="" # default: None
export REDASH_MAIL_PASSWORD="PASSWORD" # default: None
export REDASH_MAIL_DEFAULT_SENDER="" # Email address to send from
export REDASH_HOST="" # base address of your re:dash instance, for example: ""

After making the changes, restart all servers:

$ sudo /opt/bitnami/ restart

To configure the application to use other third-party SMTP services for outgoing email, such as SendGrid, refer to the FAQ.

Last modification February 9, 2023