Graylog mail alert using gmail

Hello guys

I’m new in graylog communities

please help i can’t send email alert using gmail smtp. i use docker file installation and here’s my docker file configuration

  • GRAYLOG_TRANSPORT_EMAIL_ENABLED=true
  • GRAYLOG_TRANSPORT_EMAIL_USE_AUTH=true
  • GRAYLOG_TRANSPORT_EMAIL_HOSTNAME=smtp[dot]gmail[dot]com
  • GRAYLOG_TRANSPORT_EMAIL_PORT=465
  • GRAYLOG_TRANSPORT_EMAIL_USE_TLS=false
  • GRAYLOG_TRANSPORT_EMAIL_USE_SSL=true
  • GRAYLOG_TRANSPORT_EMAIL_AUTH_USERNAME= xxxx@gmail[dot]com
  • GRAYLOG_TRANSPORT_EMAIL_AUTH_PASSWORD= mailpassword
  • GRAYLOG_TRANSPORT_EMAIL_SUBJECT_PREFIX=[graylog]
  • GRAYLOG_TRANSPORT_EMAIL_FROM_EMAIL= xxxx@gmail[dot]com

i already tried to create an app password and then use that password in dockerfile
but it still can’t send the mail alert and the graylog give me this message

“Notification has email recipients and is triggered, but sending emails failed. Sending the email to the following server failed : smtp[dot]gmail[dot]com:465”

when i try to nmap the smtp and port it says connected

can you guys help me to solve this
many thanks

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