hardware / mailserver

:warning: UNMAINTAINED - Simple and full-featured mail server using Docker
https://store.docker.com/community/images/hardware/mailserver
MIT License
1.29k stars 322 forks source link

Cannot send email trough MX: 554: Relay access denied #300

Closed meinto closed 6 years ago

meinto commented 6 years ago

Classification

Reproducibility

Docker information

Containers: 18
 Running: 18
 Paused: 0
 Stopped: 0
Images: 648
Server Version: 18.06.1-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local local-persist
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-108-generic
Operating System: Ubuntu 16.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 11.73GiB
Name: vmd24701.contaboserver.net
ID: R5VG:LIH6:OY3E:WD3H:I52Q:UXT7:T75B:HV4C:ODGC:DWCL:WJ5Q:O5SL
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
REPOSITORY            TAG                 DIGEST                                                                    IMAGE ID            CREATED             SIZE
hardware/mailserver   1.1-stable          sha256:ab8e35c9b2e29c8a1df1a2d84670c11a295751c7da4cf67c1e03b3918459dde2   ff0dcfe9f5cf        2 months ago        364MB

Description

I've configured the email server for domain1.tld. Now i want to send an email from tobias@gmail.com to tobias@domain22.tld. I've added a mx record mail.domain1.tld at domain22.tld.

Answer of remote server is: 554 5.7.1 <tobias@domain22.tld>: Relay access denied

Sorry for the dumb question. Emails are not my specialty.

hardware commented 6 years ago

Please use the search bar, this question has been answered multiple times.

meinto commented 6 years ago

Finally https://mxtoolbox.com/domain/domain22.tld/ helped me. The _dmarc record and spf record was missing.

Thanks for the awesome docker composition!