SMTP Server #20
-
Howdy, How is the mail server functionality intended to work? Does all it require is that those email addresses exist, and the MX records for the external host (I.E. something like GoDaddy for) are copied into the primary hosted zone in Route53? If the above is true, would adding the records in Route53 and running the Github Actions update things accordingly? Lastly, in the deploy-{env}.yml there is the “Configure SMTP” step. In the “Configure AWS credentials” step, we were able to use our session token to authenticate and get things working. In the “Configure SMTP” step, the session token is not recognized and shows a warning. Is the session token variable required in this step? If we exclude attempting to use a session token, we do NOT see the warning. Wondering if this will cause an issue with the emails down the line. An example of our credentials step that works (in our case it will NOT work without it): Here is the warning we receive when we attempt to use the session token in the “Configure SMTP” step: |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 14 replies
-
there's a bit of apples-and-oranges in your question, so i'll respond in pieces to try to unwind. configuring SMTP: the short answer is that you only need to set 4 Python variables in the LMS:
more .... aws-actions/configure-aws-credentials: the purpose of this Github Action, created and maintained by AWS, is to configure AWS credential and region environment variables for use in other GitHub Actions. The environment variables will be detected by both the AWS SDKs and the AWS CLI to determine the credentials and region to use for AWS API calls. Thus, it generates a session token based on an AWS IAM key pair that you provide. hence, the framing of your question above is at odds w what this Action actually does. More generally, and to your broader question about configuring SMTP: this AWS Action is unrelated to configuring SMTP for open edx. you can read more here: https://github.com/marketplace/actions/configure-aws-credentials-action-for-github-actions hope that helps. |
Beta Was this translation helpful? Give feedback.
-
i need to improve the documentation. responding to questions from you both:
|
Beta Was this translation helpful? Give feedback.
-
Hello, so we were able to get credentials to work by passing in the values into the tutor config save command: Although this appears to work, emails are not being sent out. We are using AWS Simple Email Service with the following configurations: In SES:
We’ve confirmed in SES that emails could be sent out. And just to be sure, we registered at courses.{ourDomainName}.com using an SES verified email, but still did not see any emails go out from SES. I feel like there is something else we are missing here, but not quite sure what that is. |
Beta Was this translation helpful? Give feedback.
-
When we look online about the "SMTP AUTH extension not supported by server" error, people who receive that message in other contexts mention a port issue, but port 587 seems to work for them. |
Beta Was this translation helpful? Give feedback.
-
@lpm0073 Howdy. Did you have any luck this past weekend? |
Beta Was this translation helpful? Give feedback.
-
I'm wondering if this functionality can be overridden with a plug perhaps. Or if that isn't the intended purpose of the plugins. |
Beta Was this translation helpful? Give feedback.
-
@lpm0073 Ultimately, we got things working by adding those port, email_host_user and email_host_password directly to the settings_merg.yml. Once that worked, we went back and created secrets with those same names and that got email working for us via AWS SES. |
Beta Was this translation helpful? Give feedback.
@lpm0073 Ultimately, we got things working by adding those port, email_host_user and email_host_password directly to the settings_merg.yml.
Once that worked, we went back and created secrets with those same names and that got email working for us via AWS SES.