I've defined some test alerts and they triggered successfully, but I haven't received an email from re:dash.Do I need to setup some smtp server for re:dash?
--
You received this message because you are subscribed to the Google Groups "re:dash users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redash-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
REDASH_MAIL_SERVER
REDASH_MAIL_USERNAME
REDASH_MAIL_PASSWORD
restarted the server, restarted the celery workers - but I still didn't receive an email... What am I missing?
bin/run ./manage.py send_test_mail
[2015-12-30 01:33:35,978][PID:2567][WARNING][redash.query_runner] MQL query runner enabled but not supported, no
t registering. Either disable or install missing dependencies.
[2015-12-30 01:33:36,029][PID:2567][WARNING][redash.query_runner] Oracle query runner enabled but not supported,
not registering. Either disable or install missing dependencies.
Traceback (most recent call last):
File "/opt/redash/current/manage.py", line 58, in <module>
manager.run()
File "/usr/local/lib/python2.7/dist-packages/flask_script/__init__.py", line 405, in run
result = self.handle(sys.argv[0], sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/flask_script/__init__.py", line 384, in handle
return handle(app, *positional_args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flask_script/commands.py", line 145, in handle
return self.run(*args, **kwargs)
File "/opt/redash/current/manage.py", line 54, in send_test_mail
mail.send(Message(subject="Test Message from re:dash", recipients=[settings.MAIL_DEFAULT_SENDER], body="Test
message."))
File "/usr/local/lib/python2.7/dist-packages/flask_mail.py", line 491, in send
with self.connect() as connection:
File "/usr/local/lib/python2.7/dist-packages/flask_mail.py", line 144, in __enter__
self.host = self.configure_host()
File "/usr/local/lib/python2.7/dist-packages/flask_mail.py", line 158, in configure_host
host = smtplib.SMTP(self.mail.server, self.mail.port)
File "/usr/lib/python2.7/smtplib.py", line 256, in __init__
(code, msg) = self.connect(host, port)
File "/usr/lib/python2.7/smtplib.py", line 316, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/usr/lib/python2.7/smtplib.py", line 291, in _get_socket
return socket.create_connection((host, port), timeout)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
socket.error: [Errno 110] Connection timed outexport REDASH_MAIL_SERVER="smtp.mailgun.org"
export REDASH_MAIL_PORT="587"
export REDASH_MAIL_USE_TLS="true"
export REDASH_MAIL_USE_SSL="false"
export REDASH_MAIL_USERNAME="postmaster@_____.com" #Domain redacted
export REDASH_MAIL_PASSWORD="" #PW redacted
export REDASH_MAIL_DEFAULT_SENDER="postmaster@_____.com" #Domain redacted
export REDASH_HOST="http://_____.com" #Domain redacted
Google blocks connections to standard smtp ports. Mailgun listen on port 2525 as well for this reason. Can you try that? Because other than that your settings look correct.