canvas-lms
canvas-lms copied to clipboard
email not working
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:
- Add a new user
- Observe that the job keeps trying 25 times and failing with the same error
- 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