jasl8r / docker-mattermost

Docker solution for mattermost
MIT License
15 stars 20 forks source link

SMTP Configuration -- No Hostname #9

Open ckiszka opened 8 years ago

ckiszka commented 8 years ago

I'm not sure if this is an issue or not. When SMTP is configured, it is not sending the hostname and the SMTP server is rejecting on helo ("Helo command rejected: need fully-qualified hostname;..."). Im using the latest docker container and using the --hostname argument. If exec into the image, the hostname is correct.

ckiszka commented 8 years ago

In looking into the container logs it looks like the Sendmail is not sending the hostname? The /etc/hosts file and hostname are configured. I implemented a work around on the mail server by skipping the helo restriction if they have authenticated. Not really what I wanted to do but it works now.