# Can't send mail - 554 Blacklisted

**URL:** <https://meta.discourse.org/t/cant-send-mail-554-blacklisted/112858>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [28 במרץ,‏ 2019,‏ 8:06pm UTC](https://meta.discourse.org/t/cant-send-mail-554-blacklisted/112858 "2019-03-28T20:06:22Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![IMSth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/imsth/32/135435_2.png) [@IMSth](https://meta.discourse.org/u/IMSth)\
**Post date:** [28 במרץ,‏ 2019,‏ 8:06pm UTC](https://meta.discourse.org/t/cant-send-mail-554-blacklisted/112858/1 "2019-03-28T20:06:23Z")

</div>

Hi,

I try to instal Discourse on my server as Docker container. Everything is fine until sending email on the first run.  
I didn’t receive mail.

I run discourse-doctor and this is the result (I’ve changed domain to MY\_DOMAIN):

```
DISCOURSE DOCTOR Thu Mar 28 20:21:39 CET 2019
OS: Linux MY_DOMAIN 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux

Found containers/app.yml

==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=forum.MY_DOMAIN
SMTP_ADDRESS=mail.MY_DOMAIN
DEVELOPER_EMAILS=REDACTED 
SMTP_PASSWORD=REDACTED 
SMTP_PORT=587
SMTP_USER_NAME=admin@MY_DOMAIN
LETSENCRYPT_ACCOUNT_EMAIL=REDACTED 

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 18.06.1-ce, build e68fc7a

DOCKER PROCESSES (docker ps -a)

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1f8189961b0b local_discourse/app "/sbin/boot" 13 minutes ago Up 13 minutes 80/tcp, 443/tcp app
1a6cfa219f03 jrcs/letsencrypt-nginx-proxy-companion "/bin/bash /app/entrâŚ" 4 hours ago Up 4 hours nginx-proxy-le
0aa8ab53cbd0 jwilder/docker-gen "/usr/local/bin/dockâŚ" 4 hours ago Up 4 hours nginx-proxy-gen
466653c3d497 nginx "nginx -g 'daemon ofâŚ" 5 months ago Up 5 hours 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp nginx-proxy
cbd9c3a891a4 analogic/poste.io "/init" 5 months ago Up 5 hours 0.0.0.0:25->25/tcp, 0.0.0.0:110->110/tcp, 80/ tcp, 443/tcp, 0.0.0.0:143->143/tcp, 0.0.0.0:587->587/tcp, 0.0.0.0:993->993/tcp, 0.0.0.0:995->995/tcp, 0.0.0.0:4190->4190/tcp, 465/tcp poste-io

Discourse container app is running

==================== PLUGINS ====================
          - git clone https://github.com/discourse/docker_manager.git

No non-official plugins detected.

See https://github.com/discourse/discourse/blob/master/lib/plugin/metadata.rb for the official list.

========================================
Discourse version at forum.MY_DOMAIN: Discourse 2.3.0.beta6 
Discourse version at localhost: NOT FOUND
==================== DNS PROBLEM ====================
This server reports NOT FOUND, but forum.MY_DOMAIN reports Discourse 2.3.0.beta6 .
This suggests that you have a DNS problem or that an intermediate proxy is to blame.
If you are using Cloudflare, or a CDN, it may be improperly configured.

==================== MEMORY INFORMATION ====================
OS: Linux
RAM (MB): 3084

              total used free shared buff/cache available
Mem: 3012 1729 257 84 1025 1010
Swap: 1020 19 1001

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 97G 6.4G 86G 7% /

==================== DISK INFORMATION ====================
Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe0740020

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 207620095 207618048 99G 83 Linux
/dev/sda2 207622142 209713151 2091010 1021M 5 Extended
/dev/sda5 207622144 209713151 2091008 1021M 82 Linux swap / Solaris

==================== END DISK INFORMATION ====================

==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Sending mail to REDACTED . . 
Testing sending to admin@MY_DOMAIN using admin@MY_DOMAIN:PASSWORD@mail.MY_DOMAIN:587.
======================================== ERROR ========================================
                                    UNEXPECTED ERROR

554 Blacklisted; please try again later or contact administrator

====================================== 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!)
=======================================================================================

==================== DONE! ====================

```

I’ve tested manually by [mail-tester.com](http://mail-tester.com) . [mail-tester.com](http://mail-tester.com) result is: 8.9/10  
I have small issue with

> SpamAssassin: -1.1

Anyway I can send and receive mail on this address.  
How can I resolve this problem? ☹

---

_[View the full topic](https://meta.discourse.org/t/cant-send-mail-554-blacklisted/112858)._
