SMTP Mail Courier with AWS SMS SMTP Relay #1539
-
Hi, I am trying to configure AWS SMS SMTP Relay as SMTP mail courier for Ory Kratos.
Testing the mailing service with explicit SSL: Both work fine, I get 250 OK .... and the mail is sent and received successfully. Installing Ory Kratos via Helm (tried with versions v0.6.3-alpha.1 and v0.6.1-alpha.1) and enabling verification and recovery flows via:
I have tried configuring the courier service with the following format(s) in courier / smtp:
I have tried smtp over smtps, changing the port to 465 etc. I always end up with the following in the logs:
Kratos db has the row created / updated, there is registration link etc. The only problem is, an email is actually not sent / received and even bigger problem is, log-wise, it looks like the whole flow passed successfully. We are using a wildcard certificate for *.alkem.io issued by Let's Encrypt, if that helps. What am I missing? Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I suggest checking the SNS logs. Ory Kratos tries sending an email, setting up an SMS relay might be the problem, as Ory Kratos is sending emails formatted as emails with HTML etc. |
Beta Was this translation helpful? Give feedback.
-
If someone lands here having issues with url.Parse while providing the AWS access/secret keys, they need to be encoded before specifying in the courier.smtp.connection_uri section of kratos.yml.
|
Beta Was this translation helpful? Give feedback.
I suggest checking the SNS logs. Ory Kratos tries sending an email, setting up an SMS relay might be the problem, as Ory Kratos is sending emails formatted as emails with HTML etc.