# 새 사용자 가입 활성화 이메일이 작동하지 않습니다

**URL:** https://meta.discourse.org/t/new-user-registration-activation-email-not-working/195622
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [7월 1, 2021, 10:36오전 UTC](https://meta.discourse.org/t/new-user-registration-activation-email-not-working/195622 "2021-07-01T10:36:35Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![tkdhanasekar](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@tkdhanasekar](https://meta.discourse.org/u/tkdhanasekar)
#### Post date: [7월 1, 2021, 10:36오전 UTC](https://meta.discourse.org/t/new-user-registration-activation-email-not-working/195622/1 "2021-07-01T10:36:35Z")

</div>

Docker 없이 Ubuntu에 Discourse 서버 버전 2.7.0을 설치했습니다.  
사용자가 이메일 ID로 가입을 시도하면 서버가 "거의 완료되었습니다! 제공된 이메일로 활성화 메일을 보냈습니다"라는 메시지를 표시하지만, 사용자에게 메일이 도착하지 않습니다.

테스트 메일은 정상적으로 작동합니다.  
제 SMTP 설정은 다음과 같습니다.

```plaintext
smtp_address = "smtp.gmail.com"
smtp_port = 587
smtp_domain = sampledomain.in
smtp_user_name = "mymail@gmail.com"
smtp_password = " *********"
smtp_authentication = login
notification_email = noreply@sampledomain.in
smtp_enable_start_tls = true

```

활성화 메일을 받을 수 있도록 이 문제를 해결할 수 있는 단서가 있을까요?

---

<div class="post-metadata">

### Author: ![tkdhanasekar](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@tkdhanasekar](https://meta.discourse.org/u/tkdhanasekar)
#### Post date: [7월 2, 2021, 5:37오후 UTC](https://meta.discourse.org/t/new-user-registration-activation-email-not-working/195622/2 "2021-07-02T17:37:00Z")

</div>

Docker 없이 Discourse를 설치했고, 아래 링크를 따라 설치를 진행했습니다.

> **[Install Discourse Forum on Ubuntu 18.04 Without Docker](https://www.linuxbabe.com/ubuntu/install-discourse-ubuntu-18-04-server-without-docker)**
>
> This tutorial is going to show you how to install Discourse on Ubuntu 18.04 server without docker on a 1GB virtual private server (VPS).

모든 것이 정상적으로 작동하며, Gmail SMTP를 사용하여 이메일을 보내고 있습니다. 테스트 이메일도 정상적으로 전송됩니다.  
하지만 사용자가 이메일로 가입을 시도할 때 활성화 이메일이 사용자에게 전송되지 않습니다.  
이 문제를 해결할 수 있는 단서가 있을까요?

또한, Docker를 사용하지 않는 Discourse 설치의 로그 위치도 Docker 설치와 동일한가요?  
아니면 Docker 미사용 Discourse 설치에는 다른 로그 경로가 있는 건가요?

이미 이 문제에 대해 질문을 올렸습니다.

> [@새 사용자 가입 활성화 이메일이 작동하지 않습니다](https://meta.discourse.org/t/new-user-registration-activation-email-not-working/195622):
>
> i installed discourse server version 2.7.0 in ubuntu without docker it works fine , when users make registration by their email id the server gives the message " You’re almost done! we sent activation mail to email provided but no mail is received to users . The test mail is working fine my smtp config is smtp\_address = "smtp.gmail.com" smtp\_port = 587 smtp\_domain = sampledomain.in smtp\_user\_name = "mymail@gmail.com" smtp\_password = "\*\*\*\*\*\*\*\*\*" smtp\_authentication = login notification\_ema…

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [7월 2, 2021, 6:06오후 UTC](https://meta.discourse.org/t/new-user-registration-activation-email-not-working/195622/3 "2021-07-02T18:06:47Z")

</div>

@tkdhanasekar, 작성하신 주제들을 서로 병합했습니다. 중복된 주제를 생성하지 마세요. 앞으로 생성되는 중복 주제는 삭제됩니다.

또한, 여기서 지원하는 유일한 설치 방법은 공식 설치입니다. Docker 없이 설치하는 경우를 포함한 기타 모든 설치 방식에 대한 지원은 매우 제한적이거나 전혀 제공되지 않을 수 있습니다.

---

<div class="post-metadata">

### Author: ![tkdhanasekar](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@tkdhanasekar](https://meta.discourse.org/u/tkdhanasekar)
#### Post date: [7월 2, 2021, 6:07오후 UTC](https://meta.discourse.org/t/new-user-registration-activation-email-not-working/195622/4 "2021-07-02T18:07:47Z")

</div>

중복된 주제에 대해 죄송합니다. 다시는 그런 일이 없도록 하겠습니다.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [7월 2, 2021, 8:44오후 UTC](https://meta.discourse.org/t/new-user-registration-activation-email-not-working/195622/5 "2021-07-02T20:44:10Z")

</div>

> [@tkdhanasekar](#):
>
> ```plaintext
> smtp_address = "smtp.gmail.com"
> smtp_port = 587
> smtp_domain = sampledomain.in
> smtp_user_name = "mymail@gmail.com"
> smtp_password = " *********"
> smtp_authentication = login
> notification_email = noreply@sampledomain.in
> smtp_enable_start_tls = true
> 
> ```

Gmail은 지원되지 않는 메일 제공업체입니다. Google에서 이메일이 차단될 수 있는 이유는 다양하지만, [지원되는 제공업체 중 하나를 사용하는 것](https://github.com/discourse/discourse/blob/master/docs/INSTALL-email.md)을 권장합니다.

---

<div class="post-metadata">

### Author: ![lejeczek](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@lejeczek](https://meta.discourse.org/u/lejeczek)
#### Post date: [8월 29, 2023, 6:45오후 UTC](https://meta.discourse.org/t/new-user-registration-activation-email-not-working/195622/6 "2023-08-29T18:45:28Z")

</div>

저도 정확히 같은 문제이거나 매우 유사한 문제를 겪고 있습니다.  
관리자로 외부 및 실제 주소로 테스트 이메일을 보내는 것은 가능하지만, 해당 주소(또는 다른 어떤 주소)로 가입을 시도하면… 아무 일도 일어나지 않습니다.  
메일 서버에 대한 제어 권한이 있고 로그를 확인해 보면, 사용자 가입이나 관리자가 활성화 이메일을 재전송하는 경우 모두 메일 서버와 통신하거나 연결을 시도하려는 흔적이 전혀 없습니다.  
디스코urs 로그를 디버깅하지 않은 상태에서는 다음과 같습니다:

`Started POST "/u/action/send_activation_email" for 10.3.9.144 at 2023-08-29 18:34:14 +0000 Processing by UsersController#send_activation_email as */* Parameters: {"username"=>"lemko"} Rendered text template (Duration: 0.0ms | Allocations: 1) Completed 200 OK in 39ms (Views: 1.6ms | ActiveRecord: 0.0ms | Allocations: 2848) `

저는 초보자인데 질문을 할 때 좀 관대하게 봐 주시겠어요? 이건 제가 **sidekiq** 를 설치하지 않았기 때문은 아닌가요?

---

<div class="post-metadata">

### Author: ![lejeczek](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@lejeczek](https://meta.discourse.org/u/lejeczek)
#### Post date: [8월 29, 2023, 6:49오후 UTC](https://meta.discourse.org/t/new-user-registration-activation-email-not-working/195622/7 "2023-08-29T18:49:29Z")

</div>

음… 확실히 **Sidekiq** 은 해당 작업에 필수적이네요 (& 아마도 다른 많은 것에도??)
