Amazon AMI email config seems to be ok, but no emails sent

Issue Summary

I have email configured in /opt/redash/env as the docs say. Email can be sent from the EC2 host fine. I get no error about email not being set up from the Redash UI. I send email invitations. It seems to be successful, but no emails arrive.

Env file:
cat env
PYTHONUNBUFFERED=0
REDASH_HOST=http://xx.x.x.xx/
REDASH_LOG_LEVEL=INFO
#export REDASH_MAIL_SERVER=“localhost” # default: localhost
REDASH_MAIL_SERVER=mydomain.mail.protection.outlook.com # default: localhost
REDASH_MAIL_DEFAULT_SENDER=donotreply@mydomain.com
REDASH_REDIS_URL=redis://redis:6379/0
POSTGRES_PASSWORD=XXXXXXXXXXXXXXXXXX
REDASH_COOKIE_SECRET=XXXXXXXXXXXXXXXXXXX
REDASH_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXX
REDASH_DATABASE_URL=postgresql://postgres:xxxxxxxxxxxxxxxxxxx@postgres/postgres

Technical details:

  • Redash Version: 8.0.0+b32245 (a16f551e)
  • Browser/OS: Chrome 80.0.3987.149, OS X 10.15.4
  • How did you install Redash: Launched an Amazon AMI in our AWS VPC. Edited /opt/redash/env and ran docker-compose up -d