Started POST "/u/action/send_activation_email" for 115.64.14.90 at 2019-12-23 08:20:28 +0000
Processing by UsersController#send_activation_email as */*
Parameters: {"username"=>"csmu"}
Rendering text template
Rendered text template (Duration: 0.1ms | Allocations: 1)
Completed 200 OK in 36ms (Views: 1.0ms | ActiveRecord: 0.0ms | Allocations: 4557)
tail -f shared/web_only/log/var-log/mail.log```
을 실행하면 다음과 같은 메시지를 확인합니다.
Cannot open main log file “/var/log/exim4/mainlog”
왜 "/var/log/exim4/mainlog"가 잠금 상태이며 ```shared/web_only/log/var-log/mail.log```에서 참조되는 것일까요? 어떤 아이디어가 있으신가요?
csmu
(Keith John Hutchison - Ceiteach Seán Mac Úistin)
2
해당 로그는 오탐(false positive)이었습니다.
주된 문제는 smtp.office365.com과의 연결이었습니다.
장치가 유효한 FQD(Fully Qualified Domain Name, 완전 한정 도메인 이름)를 사용하도록 설정해야 했습니다. 그 전까지 telnet smtp.office365.com 587
명령은 실패했습니다.
yaml 파일에서 올바른 설정, 특히 DISCOURSE_SMTP_AUTHENTICATION: login을 설정해야 했습니다.