Claims that mailserver is not configured, however test-mail works fine.
gr4ssi opened this issue · 4 comments
Issue Summary
Redash says, mailserver not configured, also test email works great and it is configured.
Steps to Reproduce
- Installed a fresh redash instance on Ubuntu 24 latest in our local network on 192.168.115.69.
- Set the /opt/redash/env to
REDASH_HOST=https://192.168.115.69
REDASH_MAIL_SERVER=192.168.115.254
REDASH_MAIL_PORT=25
REDASH_MAIL_USE_TLS=YES
REDASH_MAIL_DEFAULT_SENDER=redash@our.maildomain.com
-
Restartet the linux host and tested sending with
docker compose run --rm server manage send_test_mail -> Mail arrives fine, meaning my mailserver works. -
Trying to invite a new user via email:
Now, on user-invite, the website tells me that my mailserver is not set up. :-(
I consider this a bug since the test-mail works and the redash server thinks it doesn't.
Technical details:
- Redash Version: latest as of the setup install script 21. August 2024
- Browser/OS: Firefox latest
- How did you install Redash:
- fancy setup script that worked okay.
okay, this bug is super annoying, anything I can do to help find the cause or fix it? thanks!
doing IP based passwordless relaying in our internal network, testmail going out via exim in the firewall, then getting delivered on MS 365 just fine
Yeah, that sounds like a bug we should look into.
@justinclift Seems I found out why it didn't work. I'm not familiar with docker and docker compose. The documentation still says, use "docker-compose up -d". That command should be exectuted without the "-" however on Ubuntu 24. So I thought, a server reboot would do the trick - but it didn't.
After running
docker compose up -d , it seems to work now. ^^ Sorry for the confusion. ^^
I'd kindly suggest to change "docker-compose" to "docker compose" in the documentation here: https://redash.io/help/open-source/setup/#Mail-Configuration.