Working set up with AWS SES as STMP provider

Hi,

I have a small issue with Graylog 2.5, I’m unable to find the right configuration to use the AWS SES SMTP provider. That’s the standard smtp provider I’m using for everything, except Graylog.

I followed https://docs.graylog.org/en/2.5/pages/configuration/server.conf.html?highlight=smtp#email and https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-connect.html but I did not find the good mix the different options SSL/ TLS / smtp port…

I’m sure I’m doing an obvious mistake but if somebody has a something working, I would be glad to have this config !

The best error I have is 535 Authentication Credentials Invalidwhen using this conf (the credentials are working with aws cli)

        - name: GRAYLOG_TRANSPORT_EMAIL_AUTH_PASSWORD
      value: XX
    - name: GRAYLOG_TRANSPORT_EMAIL_AUTH_USERNAME
      value: AKIAXX
    - name: GRAYLOG_TRANSPORT_EMAIL_ENABLED
      value: "true"
    - name: GRAYLOG_TRANSPORT_EMAIL_FROM_EMAIL
      value: no-reply@XX.XX
    - name: GRAYLOG_TRANSPORT_EMAIL_HOSTNAME
      value: email-smtp.eu-west-1.amazonaws.com
    - name: GRAYLOG_TRANSPORT_EMAIL_PORT
      value: "587"
    - name: GRAYLOG_TRANSPORT_EMAIL_SUBJECT_PREFIX
      value: '[graylog-eu-west-1]'
    - name: GRAYLOG_TRANSPORT_EMAIL_USE_AUTH
      value: "true"
    - name: GRAYLOG_TRANSPORT_EMAIL_USE_SSL
      value: "false"
    - name: GRAYLOG_TRANSPORT_EMAIL_USE_TLS
      value: "true"

Thanks

eureka

the password need to be encoded, I used the python script there: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.