Code Monkey home page Code Monkey logo

Comments (7)

galexrt avatar galexrt commented on July 21, 2024

@njuaplusplus have you set the following env vars in the docker-compose.yml?

  • ZULIP_SETTINGS_EMAIL_HOST (email host, for example smtp.example.com)
  • ZULIP_SETTINGS_EMAIL_HOST_USER (email host username)
  • ZULIP_SECRETS_email_password (password of the email host user)

from docker-zulip.

njuaplusplus avatar njuaplusplus commented on July 21, 2024

@galexrt
Yes, I have set these vars.

And I'm sure that the user and password are correct.

from docker-zulip.

pirate avatar pirate commented on July 21, 2024

Some hosting providers block outgoing traffic to SMTP ports, have you checked to make sure you can telnet from your server to mailgun on port 25?
telnet mg.yourdomain.com 25
You should see some header like:
220 yourdomain.com ESMTP Postfix

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@njuaplusplus If you can connect to the smtp server using telnet like @pirate said.
You can copy the logs out of the container using the docker cp command and see if you spot any errors.

This would copy the /var/log folder out of the container, docker cp docker_zulip_zulip_1:/var/log zulip_log.

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@njuaplusplus I just tested it using my own mailgun account and it worked without a problem.

As I wrote, copy the /var/log folder out of the container and check the logs if there are any errors.

Closing this, because it seems to be a server host/network problem.

from docker-zulip.

njuaplusplus avatar njuaplusplus commented on July 21, 2024

@pirate
Thank you.
The problem I met is because the first user is not created.
So when I use the forget password to find the password of the first user,
the mailgun of course will not send the email.

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@njuaplusplus See #25. I fixed the user creation script in the latest dev version.
I will merge it soon with the latest version.

from docker-zulip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.