Open jeroenlammerts opened 9 years ago
https://github.com/catatnight/docker-postfix/blob/master/assets/install.sh
This image is using some other supervisord config for postfix.
@jeroenlammerts Funny. I am the author of the StackOverflow question, since I ran into the same issue already in another project. Im not sure whats going on there, but at the moment I have some other projects that I want to finish first. I try to get back to this issue soon.
I tried to send an email with telnet localhost 25
In /var/log/mail I get this error: (Host or domain name not found. Name service error for name=mydomain.com type=MX: Host not found, try again)
It seems that it is related to this issue: http://stackoverflow.com/questions/26585185/postfix-in-docker-container-cant-resolve-mx-unless-it-gets-restarted-once
Some files are not copied to /var/spool/postfix/etc/ like resolv.conf
Running this command once fixed the issue for me service postfix restart