-
Email issues with docker image
Hello 🙂
Actually i am looking for a nice monitoring solution which doesn’t need stuff like nagios/icinga.
pandorafms looks interesting, so i went the easiest way and got the docker-compose file.
Image went up in no time, but currently i am stuck at the most crucial point: email notifications.
When entering the credentials, the test answer says:
Email could not been sent
I have double-checked them, also tried to use gmail or other stuff.
Always not possible.
Checking from the command line of the docker host: successSo, the first part would be checking the logs, but where to find these?
Is the docker image capable of outside-communication? Name resolution?Edit: found audit log.
“Unable to connect with TLS encryption”
Well, our servers are capable of TLS, also Gmail and all the other ones i have tested.Edit2: now it gets ridiculous
Then i thought, maybe there is some TLS issue, just set it to “none”.
Expected response code 250 but got code “530”, with message “530 5.7.0 Must issue a STARTTLS command first ”Edit3: logs mailserver
Dec 5 18:04:37 debian postfix/submission/smtpd[1504]: connect from server.domain.tld[XXX.XXX.XXX.XXX]
Dec 5 18:04:37 debian postfix/submission/smtpd[1504]: Anonymous TLS connection established from server.domain.tld[XXX.XXX.XXX.XXX]: TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Dec 5 18:04:37 debian postfix/submission/smtpd[1504]: lost connection after STARTTLS from server.domain.tld[XXX.XXX.XXX.XXX]
Dec 5 18:04:37 debian postfix/submission/smtpd[1504]: disconnect from server.domain.tld[XXX.XXX.XXX.XXX] ehlo=1 starttls=1 commands=2