# Como depurar erro de log do Mailgun (não receber email de ativação)

**URL:** <https://meta.discourse.org/t/how-to-debug-mailgun-log-error-not-receiving-activation-email/45352>\
**Category:** Product Support\
**Created:** [7 Junho , 2016 04:29 UTC](https://meta.discourse.org/t/how-to-debug-mailgun-log-error-not-receiving-activation-email/45352 "2016-06-07T04:29:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ron\_jeremy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ron_jeremy/32/56621_2.png) [@ron\_jeremy](https://meta.discourse.org/u/ron_jeremy)\
**Post date:** [7 Junho , 2016 04:29 UTC](https://meta.discourse.org/t/how-to-debug-mailgun-log-error-not-receiving-activation-email/45352/1 "2016-06-07T04:29:54Z")

</div>

Some users receive the account activation email and others do not. I really don’t know what to look for (this is all Greek to me).

Resending emails (whether initiated by me or the user) does not help, so I’ve had to manually activate some accounts. Users have checked their spam/junk folders.

I am running 1.6.0.beta7+19 on DigitalOcean one-click install, and Discourse is “stock” (no plugins or custom stuff).

The email I use is a Mailgun account used only for the forum (outgoing only).

Here’s one of the (many) errors (I have edited info I guessed was sensitive):

2016-06-06 18:18  
{  
“severity”: “permanent”,  
“tags”: ,  
“storage”: {  
“url”: “https:/xxx”,  
“key”: “xxx”  
},  
“delivery-status”: {  
“tls”: false,  
“mx-host”: “[smtp.glb.shawcable.net](http://smtp.glb.shawcable.net)”,  
“code”: 550,  
“description”: null,  
“session-seconds”: 3.4694018363952637,  
“message”: “550 5.1.0 [bounce+68ce9a.84be3-greenmean50=shaw.ca@mg.singletrackbc.com](mailto:bounce+68ce9a.84be3-greenmean50=shaw.ca@mg.singletrackbc.com) sender rejected”,  
“certificate-verified”: false  
},  
“recipient-domain”: “shaw.ca”,  
“event”: “failed”,  
“campaigns”: ,  
“reason”: “generic”,  
“user-variables”: {},  
“flags”: {  
“is-routed”: null,  
“is-authenticated”: true,  
“is-system-test”: false,  
“is-test-mode”: false  
},  
“log-level”: “error”,  
“timestamp”: 1465262290.175899,  
“envelope”: {  
“transport”: “smtp”,  
“sender”: “[replies+verp-21654300a5c0d5dc8562340a640bfa2a@singletrackbc.com](mailto:replies+verp-21654300a5c0d5dc8562340a640bfa2a@singletrackbc.com)”,  
“sending-ip”: “209.61.151.224”,  
“targets”: “greenmean50@shaw.ca”  
},  
“message”: {  
“headers”: {  
“to”: “greenmean50@shaw.ca”,  
“message-id”: “[2c66ca04-bf41-4019-8350-e7ff75f95892@forum.singletrackbc.com](mailto:2c66ca04-bf41-4019-8350-e7ff75f95892@forum.singletrackbc.com)”,  
“from”: “[postmaster@mg.singletrackbc.com](mailto:postmaster@mg.singletrackbc.com)”,  
“subject”: “[Single Track British Columbia] Password reset”  
},  
“attachments”: ,  
“recipients”: [  
“greenmean50@shaw.ca”  
],  
“size”: 1915  
},  
“recipient”: “greenmean50@shaw.ca”,  
“id”: “xx”  
}

Here are my Mailgun settings:

 ![](https://global.discourse-cdn.com/meta/original/3X/2/5/25d9623df0a478071d53b600a3004e7f336fdbe8.jpg)

---

_[View the full topic](https://meta.discourse.org/t/how-to-debug-mailgun-log-error-not-receiving-activation-email/45352)._
