docs icon indicating copy to clipboard operation
docs copied to clipboard

SMTP config for docker installation, add IP range to avoid "relay access denied"

Open rikrdo89 opened this issue 1 year ago • 4 comments

I would suggest adding to the smtp-email.rst documentation the need to specify the IP range 192.168.0.0/24 to the email server, because the docker installation does not use the standard docker 172.16.0.0/12 IP range. Otherwise, you will get a lot of relay access denied errors.

For postfix, that would be something like this (under /etc/postfix/main.cf): mynetworks = 127.0.0.0/8, 172.16.0.0/12, 192.168.0.0/24

Also dont forget to open port 25 on your firewall.

rikrdo89 avatar Mar 06 '23 19:03 rikrdo89

Thanks, @rikrdo89, for your documentation suggestion. The next step for this issue is to technically review the details you've provided with Engineering.

cwarnermm avatar Apr 03 '23 14:04 cwarnermm

@nab-77 - This may be something to consider incorporating in the upcoming Docker installation docs update.

cwarnermm avatar May 09 '23 20:05 cwarnermm

Needed to create file? If yes then i can start working on it.

yesbhautik avatar Jan 22 '24 13:01 yesbhautik

Docs impact note: https://docs.mattermost.com/configure/smtp-email.html#smtp-email-setup

cwarnermm avatar Jun 19 '24 15:06 cwarnermm