Question

Greenlight fails to configure smtp

Posted January 6, 2022 114 views
NginxUbuntu 18.04

I have this seetings in the .env file of greenlight in my bigbluebutton server

ALLOWMAILNOTIFICATIONS=true

SMTPSERVER=***.company.mail
SMTP
PORT=587
SMTPDOMAIN=company.mail
SMTP
USERNAME=@company.mail
SMTP_PASSWORD=

SMTPAUTH=plain
SMTP
STARTTLS_AUTO=true

SMTPOPENSSLVERIFY_MODE=none

SMTP_SENDER=***@company.mail

SMTPTESTRECIPIENT=myemail@of.course

Yes, the email works as SMTP, I use it in another service and it works fine with the correct password and the same settings

But when I run this command

docker run --rm --env-file .env bigbluebutton/greenlight:v2 bundle exec rake conf:check

The output prompts

Checking environment: Passed
Checking Connection: Passed
Checking Secret: Passed
Checking SMTP connection: Failed
Error connecting to SMTP - SSL_connect returned=1 errno=0 state=error: wrong version number

I have no idea of what is wrong with it

Thank you in advance

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
3 answers
Show answer This answer has been marked as resolved by arturorejon.

Well, somehow, I can’t edit my own question, and I see that the characters that I used to hide information broke the style, I paste it again but in a more nice way

   ALLOW_MAIL_NOTIFICATIONS=true
   SMTP_SERVER=server.company.address
   SMTP_PORT=587
   SMTP_DOMAIN=company.address
   SMTP_USERNAME=email@company.address
   SMTP_PASSWORD=passwordForThisQuestion
   SMTP_AUTH=plain
   SMTP_STARTTLS_AUTO=true
   SMTP_TLS=true
SMTP_SENDER=email@company.address

SMTP_TEST_RECIPIENT=myemail@of.course

Update

I found that some people got this fixed using this code

cd /root/greenlight
docker-compose down
docker pull bigbluebutton/greenlight:v2
docker-compose up -d

But that’s not my case, everything us updated and the message prompts the same error