Sentry sending mail via SES


#1

Greetings,

im struggling a bit with sending emails from sentry VIA SES on AWS.
Im using https://github.com/getsentry/docker-sentry to create the images and feed all the settings via ENVs.
my ENVs for mailing look like this:

|SENTRY_EMAIL_HOST|email-smtp.eu-west-1.amazonaws.com|
|SENTRY_EMAIL_PASSWORD|xxxx|
|SENTRY_EMAIL_PORT|587|
|SENTRY_EMAIL_USE_TLS|True|
|SENTRY_EMAIL_USER|xxxx|

sadly this fails with a STARTTLS error:
18:09:25 [ERROR] celery.worker.job: Task sentry.tasks.email.send_email[c0888b62-b699-4ebf-92fc-db84dc81bc4f] raised unexpected: SMTPAuthenticationError(530, 'Must issue a STARTTLS command first') (data={u'hostname': 'celery@eb47693186cf', u'name': 'sentry.tasks.email.send_email', u'args': '[]', u'internal': False, u'kwargs': "{'message': <django.core.mail.message.EmailMultiAlternatives object at 0x7f9273b0bdd0>}", u'id': 'c0888b62-b699-4ebf-92fc-db84dc81bc4f'})

im unsure if im running into this issue: https://github.com/getsentry/sentry/issues/4252 ?

anyone got smtp working on AWS with SES?

greetings

Christian


#2

solved after fixing a typo in the Environment :wink: