공식 Digital Ocean droplet을 통해 공식 지원되는 Discourse 설치 방식을 사용하고 있습니다. 첫 번째 사이트(jordanviolet.dev)는 성공적으로 설정했고, 현재 두 번째 사이트(violetfamily.com)를 설정 중입니다.
- 도메인은 Google Domains를 통해 구매했지만, 네임서버는 Digital Ocean에 설정되어 있습니다.
- 두 사이트 모두 각 도메인 이메일을 사용하며, 이는 Google Workspace 계정입니다(각각 @jordanviolet.dev와 @violetfamily.com).
- 두 사이트 모두 Google Workspace에서 110%의 인증 설정(identity configurations)을 완료했습니다. 도메인 등 관련 사항을 수십 번 확인했습니다.
jordanviolet.dev는 설정이 잘 되었고 이메일도 정상적으로 발송되었습니다!
violetfamily.com에서는 이메일 오류가 발생했는데, 이 가이드에 따라 비보안 애플리케이션을 허용하도록 설정하여 해결했습니다(jordanviolet.dev에서는 이 방법으로 잘 작동했었죠):
이메일이 한 통은 발송되었지만, 이후 등록이 만료되었고 그 이후로는 이메일이 발송되지 않고 있습니다. tail -f shared/standalone/log/rails/production.log를 실행한 뒤 이메일을 발송하면 로그에서 200 OK가 표시되는 것으로 보아 요청은 처리되고 있는 것 같습니다. 이때 다음과 같은 로그가 출력됩니다:
Started HEAD "/" for 13.57.1.58 at 2024-05-18 18:39:43 +0000
Processing by FinishInstallationController#index as */*
Rendered finish_installation/index.html.erb within layouts/finish_installation (Duration: 0.9ms | Allocations: 187)
Rendered layout layouts/finish_installation.html.erb (Duration: 23.7ms | Allocations: 2771)
Completed 200 OK in 61ms (Views: 25.3ms | ActiveRecord: 0.0ms | Allocations: 8607)
Started GET "/" for 13.57.1.58 at 2024-05-18 18:39:43 +0000
Processing by FinishInstallationController#index as */*
Rendered finish_installation/index.html.erb within layouts/finish_installation (Duration: 0.6ms | Allocations: 187)
Rendered layout layouts/finish_installation.html.erb (Duration: 9.4ms | Allocations: 2575)
Completed 200 OK in 14ms (Views: 10.5ms | ActiveRecord: 0.0ms | Allocations: 3736)
하지만 이메일을 전혀 받지 못하고 있습니다. 혹시 해결책이 있을까요? 현재로서는 제가 할 수 있는 방법을 모두 시도해 본 것 같습니다.
