canvas-lms icon indicating copy to clipboard operation
canvas-lms copied to clipboard

email not working

Open mrg-ml opened this issue 3 years ago • 0 comments

Summary:

Email not working. The job log reports getaddrinfo: Name or service not known

outgoing_mail.yml configured for smtp-relay.gmail.com port 465. Our domain is whitelisted in google accounts Credentials were verified by sending a test email with openssl via command line from the server in question Verified smtp-relay.gmail.com could be pinged from the server in question This is an AWS EC2 instance using Canvas LMS packaged by Bitnami/2021.12.15-42-13-r04

Steps to reproduce:

  1. Add a new user
  2. Observe that the job keeps trying 25 times and failing with the same error
  3. Observe lack of email

Expected behavior:

Emails sent correctly

Actual behavior:

getaddrinfo: Name or service not known

Additional notes:

Also tried port 587 and several alternate values for the domain.

Parameters: address: "smtp-relay.gmail.com" port: 465 user_name: "(actual email address removed)" password: "(actual username removed)" authentication: plain domain: "smtp-relay.gmail.com" outgoing_address: "(actual email address removed)" default_name: "(actual name removed)" enable_starttls_auto: false TLS: true

mrg-ml avatar Jan 13 '22 17:01 mrg-ml