Mailcow-dockerized: Sending/Receiving E-Mails does not work (like to /dev/null)

Created on 22 Dec 2018  Â·  8Comments  Â·  Source: mailcow/mailcow-dockerized

Hello,

first I searched in old issues but don't found any helping information.
I prepared my DNS and installed mailcow-dockerized on a clean Ubuntu 18.04 on my VPS, without a problem.

After the installation and adding a Domain/Mailbox and restarting SOGo I logged in and tried to send myself an Email to @gmail.com and @web.de.

The modal window shows something like "Send successfully" and I received nothing on my gmail- and webadress.

If I try to send a Mail from my existing Mails(@gmail.com and @web.de) to my [email protected], it also looks working(but does not). If this wouldn't work, I would expect some Mail like "Mail delivery failed: returning message to sender".

Sounds like a DNS-Problem, but I have no clue what it could be:

A | @ | 82.165.112.237 | - |  
MX | @ | mail.mydomain.de | - |  
SPF (TXT) | @ | "v=spf1 mx ~all" | - |  
CNAME | autoconfig | mail.mydomain.de | - |  
CNAME | autodiscover | mail.mydomain.de | - |  
CNAME | imap | mail.mydomain.de | - |  
A | mail | 82.165.112.237 | - |  
CNAME | pop3 | mail.mydomain.de | - |  

Any idea? I spend hours in debugging.

Greets and merry Xmas

dunno

Most helpful comment

If DNS settings are wrong during sending, the mail is usually deferred in the mail queue, until errors can be fixed.

A "return to sender" will happen if this error consists or it is a permanent/critical failure.

Check the queue manager of Mailcow.

All 8 comments

Why did you close this? Is it solved? How did you solve it?

If DNS settings are wrong during sending, the mail is usually deferred in the mail queue, until errors can be fixed.

A "return to sender" will happen if this error consists or it is a permanent/critical failure.

Check the queue manager of Mailcow.

@hachre Ehm, it's nearly solved. The problem: the vps firewall configuration, every port (except for 80/443) was blocked.. I only checked wheather the needed ports are in use for other programs..

I added the required ports to the firewall and I receive the Emails from @web.de and @gmail.com.

But I can not "send" Emails from Mailcow - I can send them without a error message, but they do not arrive.

@lazyfrosch I checked the queue manager of Mailcow with docker-compose exec postfix-mailcow postqueue -p
It shows -> (address resolver failure).

I'll debug further keep you up2date.

Any other ideas? (:

Depending on the Firewall it might block Docker communication, which is pretty bad...

First turn the firewall off, restart system, docker-compose down, docker-compose up.

Docker configures various firewall rules for the containers. If this works, find a better solution for the Firewall..

You should use the DOCKER_USER chain for own and persistent rules. :)

Btw. thanks for the Icinga2 Telegram notifications script. :-D

Am 24.12.2018 um 16:12 schrieb Markus Frosch notifications@github.com:

Depending on the Firewall it might block Docker communication, which is pretty bad...

First turn the firewall off, restart system, docker-compose down, docker-compose up.

Docker configures various firewall rules for the containers. If this works, find a better solution for the Firewall..

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@andryyy could you share this Icinga2 Telegram notifications script with us :) Would be awesome.

@ntimo Check my GitHub :wink:

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

patrick7 picture patrick7  Â·  3Comments

zkryakgul picture zkryakgul  Â·  3Comments

GalacticLion7 picture GalacticLion7  Â·  3Comments

damdinsharav picture damdinsharav  Â·  3Comments

bonanza123 picture bonanza123  Â·  3Comments