다른 곳에서 이미 다뤄진 내용이라면 양해 부탁드립니다.
지난 몇 년간 저는 Discourse의 SMTP 중계기로 Gsuite를 사용해 왔습니다. 그런데 오늘 Discourse에 접속했을 때 다음과 같은 오류를 발견했습니다.
There are 15547 email jobs that failed. Check your app.yml and ensure that the mail server settings are correct. See the failed jobs in Sidekiq.
app.yml은 다음과 같이 설정되어 있습니다.
SMTP_ADDRESS=smtp-relay.gmail.com
SMTP_PORT=587
SMTP_PASSWORD=
SMTP_USER_NAME=
Sidekiq 대시보드는 다음과 같습니다:
discourse-doctor를 실행해 보았더니 다음과 같은 결과가 나왔습니다:
==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Sending mail to REDACTED . .
Testing sending to admin@acescentral.com using smtp-relay.gmail.com:587.
======================================== ERROR ========================================
UNEXPECTED ERROR
end of file reached
====================================== SOLUTION =======================================
This is not a common error. No recommended solution exists!
Please report the exact error message above to https://meta.discourse.org/
(And a solution, if you find one!)
=======================================================================================
Gsuite의 smtp-relay 설정은 다음과 같습니다.
Allowed senders: Only addresses in my domains
Only accept mail from the specified IP addresses: Yes
Allowed IP addresses: digital ocean discourse production
Require SMTP Authentication: No
Require TLS encryption: Yes
명백하게 잘못하고 있는 부분이 있을까요?
미리 감사합니다
`
