Giter Club home page Giter Club logo

Comments (9)

areknawo avatar areknawo commented on August 25, 2024 1

Currently, the SMTP_USERNAME and SMTP_PASSWORD are required to enable the SMTP service.

On a side note, I'm still working on the updates and fixes recommended in the post, including better logging to help with issues like this.

from vrite.

ovizii avatar ovizii commented on August 25, 2024 1

thanks, I'll try again tomorrow as "docker compose pull" does not seem to pull any new image right now.

from vrite.

ovizii avatar ovizii commented on August 25, 2024

can I leave them empty? I really haven't set up authentication as my postfix only accepts locally generated email and from my own containers.

from vrite.

areknawo avatar areknawo commented on August 25, 2024

You can omit them entirely now (v0.2.1). Just make sure you're running the latest version.

from vrite.

ovizii avatar ovizii commented on August 25, 2024

OK, I managed to pull the latest image, not sure how to verify if its v0.2.1
This is all I managed to figure out:

docker image list | grep vrite
ghcr.io/vriteio/vrite/api                       main            5dcbb2c29b63   13 minutes ago   196MB
ghcr.io/vriteio/vrite/collaboration             main            bba622ba2fe5   13 minutes ago   195MB
ghcr.io/vriteio/vrite/assets                    main            78fff9f72fb0   13 minutes ago   222MB
ghcr.io/vriteio/vrite/app                       main            fae524822ad2   2 weeks ago      237MB
ghcr.io/vriteio/vrite/api                       <none>          a3077b7b4acc   2 weeks ago      195MB
ghcr.io/vriteio/vrite/assets                    <none>          70bd6e1114e9   2 weeks ago      221MB
ghcr.io/vriteio/vrite/collaboration             <none>          069e6f55f3eb   2 weeks ago      194MB

Unfortunately I still get vrite-app | No email service configured with this .env file:

SMTP_HOST=10.10.10.10
SMTP_PORT=25
#SMTP_USERNAME=
#SMTP_PASSWORD=
SMTP_SECURE=false

I even tried manually adding these SMTP variables as environmental variables to vrite-app:

    environment:
      - SMTP_HOST=10.10.10.10
      - SMTP_PORT=25
      - SMTP_SECURE=false

will try another pull tomorrow

from vrite.

areknawo avatar areknawo commented on August 25, 2024

Sorry for that. It appears there was an issue with the GitHub Action for image publishing.
The new image should be released now, accessible via either the 0.2.1 or latest tags.
You can monitor this here.

Let me know if this works now.

from vrite.

ovizii avatar ovizii commented on August 25, 2024

I just did another pull, got the latest image versions and am now seeing this error when trying to register:

vrite-app       | [Error: 589BAF2F697F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:
vrite-app       | ] {
vrite-app       |   library: 'SSL routines',
vrite-app       |   reason: 'wrong version number',
vrite-app       |   code: 'ESOCKET',
vrite-app       |   command: 'CONN'
vrite-app       | }

these are my SMTP settings:

SMTP_HOST=10.10.10.10
SMTP_PORT=25
#SMTP_USERNAME=
#SMTP_PASSWORD=
SMTP_SECURE=false

postfix logs of this connection attempt:

Sep 30 15:30:34 nas postfix/smtpd[3898371]: connect from unknown[172.16.27.5]
Sep 30 15:30:34 nas postfix/smtpd[3898371]: lost connection after CONNECT from unknown[172.16.27.5]
Sep 30 15:30:34 nas postfix/smtpd[3898371]: disconnect from unknown[172.16.27.5] commands=0/0

from vrite.

areknawo avatar areknawo commented on August 25, 2024

Ok, that's some progress. 🙂
I think there was an issue with passing the SMTP_SECURE flag, now fixed in v0.2.2. This should resolve the SSL connection issue. Try to pull the latest image again.

from vrite.

ovizii avatar ovizii commented on August 25, 2024

Thanks, problem solved, SMTP works now.

from vrite.

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.