Comments (5)
After some more poking around I got this to work.
For those who stumble across this issue looking for a fix, here is what I did.
I am assuming you have gone through the basic Mattermost Docker installation, and have set up Postfix as a regular service on your host machine.
- On the host machine do
ifconfig
and find the ip address of thedocker0
bridge network - In Mattermost's system console set up email notifications as per these instructions under 'postfix' but enter the ip address from step 1 in stead of localhost.
- Find the ip address of the
mattermostdocker_web_1
container using this command:docker inspect -f '{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
(source) - Add the ip address from step 3 into
/etc/postfix/main
tomynetworks
, save the file and make sure you doservice postfix restart
- Back in Mattermost, hit the 'Test Connection' button. The admin user should receive a test email from the configured from address.
I am no expert so I do not know if this is the 'correct' way to do this, but it works.
from mattermost-docker.
Is this container supposed to be able to talk over SMTP ports (25 or 465)?
Yes, the containers doesn't block any outgoing port. I suspect you have some network problems between docker container and host machine.
from mattermost-docker.
What SMTP server IP/address were you using when you tried on the same machine. If your postfix is running on your host and you are running the container, you need to point the SMTP server to your host docker IP.
from mattermost-docker.
Closing this for now. Feel free to reopen if there is any question.
from mattermost-docker.
@maackle I am running into the same issue—did you find a fix and if so, what is it?
from mattermost-docker.
Related Issues (20)
- {PATCH} is included in the version view and not correct version number HOT 5
- Untrusted certificate from Andriod mobile app HOT 1
- release-5.33 Uses Wrong Version of Postgres HOT 3
- updating to 5.33 release with mysql HOT 1
- How to update to the latest ESR version (or to a specific version)? HOT 1
- docker_app unhealthy connection timeout to psql HOT 4
- Mattermost mobile app server warning message after upgrade HOT 2
- Sync Releases to mattermost-server HOT 11
- Why Mattermost releases 5.34, 5.34.1, 5.34.2, 5.35, 5.35.2 missing in mattermost-docker releases? HOT 2
- Proxy authentication required (gitlab sso token issue
- SiteURL must be set .. HOT 1
- the switch to postgres10 doesn't handle DB upgrades HOT 2
- Upgrading to 5.36.1 HOT 3
- Building DB Failes HOT 4
- Deployment failures in a variety of configurations, including locally built and docker hub images HOT 2
- Error when building gevent for db containers HOT 3
- Error: unknown shorthand flag: 'u' in -upgrade_db_30
- No new releases? HOT 1
- Some updates on the Mattermost-docker repository HOT 3
- Error: failed to load configuration: failed to create store HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattermost-docker.