-
I plan to use abc-user-feedback based on private subnet. I easily ran it based on the Dockerhub image, but blocked by a 500 error while request code to verify an email. Initially, with SMTP_USE=false setting, logs were generated showing failed connection attempts to 127.0.0.1:25. After setting up SMTP and Google email server, a 530 Authorization required (#5.7.1) error occurred, and we confirmed this is a STARTTLS-related error. Therefore, we tried to set it up using variables like SMTP_SSL, but we couldn't find the relevant variables. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello, thank you for your interest in our open source project. As you mentioned, there seem to be two potential solutions for the issue you've asked.
Reference code: https://github.com/line/abc-user-feedback/blob/main/apps/api/src/configs/modules/mailer-config/mailer-config.module.ts#L39 Please confirm if the above information is correct. Also, Please let me know if you need further request. Thank you. |
Beta Was this translation helpful? Give feedback.
@LectomT
Hello,
As you mentioned, SMTP_USE is configurable but it is an option that is not used internally. There is a history in the product development process, and it can be considered a kind of legacy. It seems that a cleanup of related environment variables is needed, and this is also related to the policy issue mentioned earlier, so it will likely be addressed later.
As you mentioned, since Google's SMTP service does not support SSLv3, we intend to raise the default security level to a higher security level (TLSv1.2). Additionally, we plan to add the following two options, which might be necessary: