I am using Redash IAM and it’s now working perfectly
and I am trying to set the mail service using the below parameters in the /opt/redash/env
but I still can’t send any verification mail from any user

Thank you I found the solution

Can you share details so future readers can learn too?

1 Like

the solution is

PYTHONUNBUFFERED=0
REDASH_LOG_LEVEL=INFO
REDASH_REDIS_URL=redis://redis:6379/0
POSTGRES_PASSWORD=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
REDASH_COOKIE_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
REDASH_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
REDASH_DATABASE_URL=postgresql://postgres:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@postgres/postgres
REDASH_HOST=192.
REDASH_MAIL_SERVER=smtp-relay.gmail.com
REDASH_MAIL_PORT=587
REDASH_MAIL_USE_TLS=false
REDASH_MAIL_USE_SSL=false
REDASH_MAIL_USERNAME=xxxxx@email.com
REDASH_MAIL_DEFAULT_SENDER=xxxxx@email.com
REDASH_MAIL_PASSWORD=

lesson that I learned

  • contact your company to allow the public IP of the EC2 instance to be able to send mails
  • ask your admin which REDASH_MAIL_SERVER do you use in your company
  • ask if you use SSL and TLS or not ( true and false )
  • make sure that your email or company email is working as I used in the sender company domain not gmail

Thank you

1 Like