Postfix SMTP Relay and greenlight

205 views
Skip to first unread message

Haris Sketo

unread,
Apr 12, 2020, 7:22:51 AM4/12/20
to BigBlueButton-Setup
Hello, on the same server that bbb and greenlight is installed, i have setup postfix as smtp relay. Sending mails from bash works fine, how can i use postfix to send mails from greenlight?

I have enabled the allow mail notifications at .env and recomposed the image. invitation as registration method is set without problem, but when i try to invite an email address, i got this error message An error occured during email delivery. Please contact an administrator!

any ideas?

Martin Thomas Schrott

unread,
Apr 12, 2020, 7:40:24 AM4/12/20
to bigbluebu...@googlegroups.com, Haris Sketo

have a look at the logfiles / maillog.

I had the same at the first try and postfix denied because of no valid hostname set ...

you should see either in the maillog, why it was not accepted, or in the greenlight logs, why it could not be send.

cheers

Martin

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/88185f63-a0bf-4a5c-aa32-9ab7cac30003%40googlegroups.com.

Haris Sketo

unread,
Apr 12, 2020, 7:49:18 AM4/12/20
to BigBlueButton-Setup
well, i had forgot to configure the sent from field at .env. Now i don't get any error message from the greenlight webpage, but no mail is delivered either. this is the logs from greenlight:

INFO: [8c7a6df9-1120-4910-8299-8f203cbec118] method=POST path=/b/u/login format=html controller=SessionsController action=create status=302 duration=228.01 view=0.00 db=5.23 location=https://conference.mysite.gr/b/adm-fxg-9pz host=greenlight
INFO: [b1e4b0ba-368c-4378-b0e2-ca9ab0342923] method=GET path=/b/adm-fxg-9pz format=html controller=RoomsController action=show status=200 duration=259.80 view=39.49 db=16.62 host=greenlight
INFO: [192ae28b-400a-4571-a273-0334867e9026] method=GET path=/b/admins format=html controller=AdminsController action=index status=200 duration=52.76 view=16.20 db=17.56 host=greenlight
INFO: [c4e13e18-78b5-4c4f-b03d-8fd6943c5a76] Sent mail to mye...@windowslive.com (18.8ms)
INFO: [c4e13e18-78b5-4c4f-b03d-8fd6943c5a76] method=POST path=/b/admins/invite format=html controller=AdminsController action=invite status=302 duration=132.67 view=0.00 db=76.23 location=https://conference.mysite.gr/b/admins host=greenlight
INFO: [4ab3600e-8836-4799-aa85-fbb0f1c79c72] method=GET path=/b/admins format=html controller=AdminsController action=index status=200 duration=87.98 view=32.46 db=18.50 host=greenlight


Also the logs from /var/log/mail.log doesn't even record anything related from greenlight or the mail address i am sending to.


Τη Κυριακή, 12 Απριλίου 2020 - 2:40:24 μ.μ. UTC+3, ο χρήστης Martin Thomas Schrott έγραψε:

have a look at the logfiles / maillog.

I had the same at the first try and postfix denied because of no valid hostname set ...

you should see either in the maillog, why it was not accepted, or in the greenlight logs, why it could not be send.

cheers

Martin


Am 12.04.2020 um 13:22 schrieb Haris Sketo:
Hello, on the same server that bbb and greenlight is installed, i have setup postfix as smtp relay. Sending mails from bash works fine, how can i use postfix to send mails from greenlight?

I have enabled the allow mail notifications at .env and recomposed the image. invitation as registration method is set without problem, but when i try to invite an email address, i got this error message An error occured during email delivery. Please contact an administrator!

any ideas?
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

Martin Thomas Schrott

unread,
Apr 12, 2020, 8:04:01 AM4/12/20
to bigbluebu...@googlegroups.com, Haris Sketo

...no idea... there should be something in the mail log if greenlight states no error and tells, that it sent the message.

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/56e1e384-bdab-4d1d-8f4d-369295eb2c43%40googlegroups.com.

Haris Sketo

unread,
Apr 12, 2020, 8:17:32 AM4/12/20
to BigBlueButton-Setup
things became more interesting.

this is my .env 

# Set this to true if you want GreenLight to send verification emails upon
# the creation of a new account
#
ALLOW_MAIL_NOTIFICATIONS=true
#
# The notifications are sent using sendmail, unless the SMTP_SERVER variable is set.
# In that case, make sure the rest of the variables are properly set.
#
#   SMTP_SERVER=smtp.gmail.com
#   SMTP_PORT=587
#   SMTP_DOMAIN=gmail.com
#   SMTP_USERNAME=<your...@gmail.com>
#   SMTP_PASSWORD=<yourpassword>
#   SMTP_AUTH=plain
#   SMTP_STARTTLS_AUTO=true
#
SMTP_SERVER=
SMTP_PORT=
SMTP_DOMAIN=
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_AUTH=
SMTP_STARTTLS_AUTO=

# Specify the email address that all mail is sent from
SMTP_SENDER=no-r...@mymail.gr


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

i got 

Checking environment: Passed
Checking Connection: Passed
Checking Secret: Passed
Checking SMTP connection: Failed
Error connecting to SMTP - Connection refused - connect(2) for ""

Franz Dietrich

unread,
Apr 12, 2020, 8:19:34 AM4/12/20
to bigbluebu...@googlegroups.com, Haris Sketo
Well you have to add an smtp server port and credentials?

Am 12.04.20 um 14:17 schrieb Haris Sketo:
>> mye...@windowslive.com <javascript:> (18.8ms)
>>> bigbluebutton-s...@googlegroups.com.
>>> <https://groups.google.com/d/msgid/bigbluebutton-setup/88185f63-a0bf-4a5c-aa32-9ab7cac30003%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "BigBlueButton-Setup" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to bigbluebutton-s...@googlegroups.com
>> <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/bigbluebutton-setup/56e1e384-bdab-4d1d-8f4d-369295eb2c43%40googlegroups.com
>> <https://groups.google.com/d/msgid/bigbluebutton-setup/56e1e384-bdab-4d1d-8f4d-369295eb2c43%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "BigBlueButton-Setup" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bigbluebutton-s...@googlegroups.com
> <mailto:bigbluebutton-s...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bigbluebutton-setup/5d04ebc7-1de6-49a9-a4e7-b824b717b898%40googlegroups.com
> <https://groups.google.com/d/msgid/bigbluebutton-setup/5d04ebc7-1de6-49a9-a4e7-b824b717b898%40googlegroups.com?utm_medium=email&utm_source=footer>.

Martin Thomas Schrott

unread,
Apr 12, 2020, 8:21:47 AM4/12/20
to bigbluebu...@googlegroups.com, Haris Sketo
...and you have to remove user and password if you don't have auth set
up in your postfix server.

as server you may use localhost I guess, as you said you have it on the
same host.


Haris Sketo

unread,
Apr 12, 2020, 8:30:59 AM4/12/20
to BigBlueButton-Setup
smtp auth and tls what values to use?

I thought i had to left blank all the other fields.

Franz Dietrich

unread,
Apr 12, 2020, 8:36:51 AM4/12/20
to bigbluebu...@googlegroups.com, Haris Sketo
If you do not authenticate leave them empty else use either plain or login.

For communication to localhost you don't need ssl I guess so false.

Am 12.04.20 um 14:30 schrieb Haris Sketo:
> --
> You received this message because you are subscribed to the Google
> Groups "BigBlueButton-Setup" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bigbluebutton-s...@googlegroups.com
> <mailto:bigbluebutton-s...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bigbluebutton-setup/a407635a-9ed3-4030-8f61-001e5a5cd825%40googlegroups.com
> <https://groups.google.com/d/msgid/bigbluebutton-setup/a407635a-9ed3-4030-8f61-001e5a5cd825%40googlegroups.com?utm_medium=email&utm_source=footer>.

Haris Sketo

unread,
Apr 12, 2020, 9:33:01 AM4/12/20
to BigBlueButton-Setup
After setting the .env i got these errors :

Apr 12 15:28:15 conference postfix/smtpd[21106]: connect from unknown[172.17.0.2]
Apr 12 15:28:15 conference postfix/smtpd[21106]: lost connection after STARTTLS from unknown[172.17.0.2]
Apr 12 15:28:15 conference postfix/smtpd[21106]: disconnect from unknown[172.17.0.2] ehlo=1 starttls=1 commands=2


Also i have to mention that at .env file, leaving smtp server blank or localhost had this error "Error connecting to SMTP - Connection refused - connect(2) for "" port 25"
when i used my fqdn i got the above tls error.

My mind is blown, can't understand why i can send emails without errors from bash and i can't from greenlight.


Τη Κυριακή, 12 Απριλίου 2020 - 3:36:51 μ.μ. UTC+3, ο χρήστης Franz Dietrich έγραψε:
If you do not authenticate leave them empty else use either plain or login.

For communication to localhost you don't need ssl I guess so false.

Am 12.04.20 um 14:30 schrieb Haris Sketo:
> smtp auth and tls what values to use?
>
> I thought i had to left blank all the other fields.
>
> Τη Κυριακή, 12 Απριλίου 2020 - 3:21:47 μ.μ. UTC+3, ο χρήστης Martin
> Thomas Schrott έγραψε:
>
>     ...and you have to remove user and password if you don't have auth set
>     up in your postfix server.
>
>     as server you may use localhost I guess, as you said you have it on the
>     same host.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "BigBlueButton-Setup" group.
> To unsubscribe from this group and stop receiving emails from it, send

Martin Thomas Schrott

unread,
Apr 12, 2020, 9:59:40 AM4/12/20
to bigbluebu...@googlegroups.com, Haris Sketo

Hi

please remove all smtp server  variables beside the server and port if you do not auth.

it looks as if you have tls activated.

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/17f46302-b959-480a-85b7-6176fcbcdd38%40googlegroups.com.

Haris Sketo

unread,
Apr 12, 2020, 10:57:46 AM4/12/20
to BigBlueButton-Setup
the error now is "Error connecting to SMTP - 501 Syntax: HELO hostname"

the env:

# Set this to true if you want GreenLight to send verification emails upon
# the creation of a new account
#
   ALLOW_MAIL_NOTIFICATIONS=true
#
# The notifications are sent using sendmail, unless the SMTP_SERVER variable is set.
# In that case, make sure the rest of the variables are properly set.
#
#   SMTP_SERVER=smtp.gmail.com
#   SMTP_PORT=587
#   SMTP_DOMAIN=gmail.com
#   SMTP_USERNAME=<your...@gmail.com>
#   SMTP_PASSWORD=<yourpassword>
#   SMTP_AUTH=plain
#   SMTP_STARTTLS_AUTO=true
#
SMTP_SERVER=conference.mysite.gr(this is posfix fqdn which runs at the same server)
SMTP_PORT=25
#SMTP_DOMAIN=
#SMTP_USERNAME=
#SMTP_PASSWORD=
#SMTP_AUTH=plain
#SMTP_STARTTLS_AUTO=true

# Specify the email address that all mail is sent from
SMTP_SENDER=no-r...@mymail.gr

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

Haris Sketo

unread,
Apr 12, 2020, 11:44:00 AM4/12/20
to BigBlueButton-Setup
well i made it. Using only smtp server, port and domain, comment all the other variables. running sudo docker run --rm --env-file .env bigbluebutton/greenlight:v2 bundle exec rake conf:check i got these results:

Checking environment: Passed
Checking Connection: Passed
Checking Secret: Passed
Checking SMTP connection: Passed

BUT

when i try to send an email from greenlight i got this in error logs:

INFO: [c6a20f67-371f-4793-85cc-39cedaecfe71] Sent mail to hari...@windowslive.com (2518.0ms)
ERROR: [c6a20f67-371f-4793-85cc-39cedaecfe71] Support: Error in email delivery: hostname "conference.mysite.gr" does not match the server certificate
INFO: [c6a20f67-371f-4793-85cc-39cedaecfe71] method=POST path=/b/admins/invite format=html controller=AdminsController action=invite status=302 duration=2655.40 view=0.00 db=79.60 location=https://conference.systemcon.gr/b/admins host=greenlight
INFO: [07326a2e-58ad-4f02-bc46-65c01c13550b] method=GET path=/b/admins format=html controller=AdminsController action=index status=200 duration=88.10 view=38.86 db=19.22 host=greenlight


How is this possible? 




Τη Κυριακή, 12 Απριλίου 2020 - 5:57:46 μ.μ. UTC+3, ο χρήστης Haris Sketo έγραψε:
the error now is "Error connecting to SMTP - 501 Syntax: HELO hostname"

the env:

# Set this to true if you want GreenLight to send verification emails upon
# the creation of a new account
#
   ALLOW_MAIL_NOTIFICATIONS=true
#
# The notifications are sent using sendmail, unless the SMTP_SERVER variable is set.
# In that case, make sure the rest of the variables are properly set.
#
#   SMTP_SERVER=smtp.gmail.com
#   SMTP_PORT=587
#   SMTP_DOMAIN=gmail.com
#   SMTP_USERNAME=<youremail@gmail.com>

Martin Thomas Schrott

unread,
Apr 12, 2020, 11:59:27 AM4/12/20
to bigbluebu...@googlegroups.com, Haris Sketo

...ok, that is what I said before, set the domain - set server and port and comment everything else...

so great, that you got that running.


the cert problem may be, if you haven't set the correct cert in postfix and have enabled tls there.

as I said, you should be able to connect via localhost, instead of your domain in smtp server host.

cheers

Martin

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/2e6005f9-8744-4272-a980-2441878f1576%40googlegroups.com.

Haris Sketo

unread,
Apr 12, 2020, 12:18:32 PM4/12/20
to BigBlueButton-Setup
We are close, take a look at this, when i set .env like this

# Set this to true if you want GreenLight to send verification emails upon
# the creation of a new account
#
   ALLOW_MAIL_NOTIFICATIONS=true
#
# The notifications are sent using sendmail, unless the SMTP_SERVER variable is set.
# In that case, make sure the rest of the variables are properly set.
#
#   SMTP_SERVER=smtp.gmail.com
#   SMTP_PORT=587
#   SMTP_DOMAIN=gmail.com
#   SMTP_USERNAME=<your...@gmail.com>
#   SMTP_PASSWORD=<yourpassword>
#   SMTP_AUTH=plain
#   SMTP_STARTTLS_AUTO=true
#
SMTP_SERVER=localhost
SMTP_PORT=25
SMTP_DOMAIN=systemcon.gr
#SMTP_USERNAME=
#SMTP_PASSWORD=
#SMTP_AUTH=login
#SMTP_STARTTLS_AUTO=false

I got this error 

Checking environment: Passed
Checking Connection: Passed
Checking Secret: Passed
Checking SMTP connection: Failed
Error connecting to SMTP - Address not available - connect(2) for "localhost" port 25
#   SMTP_USERNAME=<your...@gmail.com>

Martin Thomas Schrott

unread,
Apr 12, 2020, 12:22:34 PM4/12/20
to bigbluebu...@googlegroups.com, Haris Sketo

...your postfix has to listen on 127.0.0.1 (localhost)

this would be the default, maybe you configured something else?

do not forget to set the mailadress from which you send - just because you did not mention it in the last config anymore.:-)

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/7f5a4d20-7c11-449e-8254-5132d62e87b2%40googlegroups.com.

Haris Sketo

unread,
Apr 12, 2020, 12:54:17 PM4/12/20
to BigBlueButton-Setup
I disabled smtpd tls and is working with fqdn as smtp server at env file. I don't know why can't send mails using localhost. In postfix main.cf localhost is included. Is it a security hole disable tls at smtpd clients? The use of relay is restricted by subnets.

By the way, where can i configure the invitation mails text/content?

thank you very much for the help!

Martin Thomas Schrott

unread,
Apr 12, 2020, 1:03:05 PM4/12/20
to bigbluebu...@googlegroups.com, Haris Sketo

Hi,


if you hide port 25 from the public and only allow this from your host, you won't have a security issue. Otherwise you really should not allow sending from another host in postfix without authentication :-)


regarding the text please make a separate thread on the list - or search for it, it already was discussed here.


best,

Martin

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/c79d3c68-92cb-4310-a155-468d9ef6f31f%40googlegroups.com.

Martin Thomas Schrott

unread,
Apr 12, 2020, 1:35:15 PM4/12/20
to bigbluebu...@googlegroups.com

if you have a firewall blocking port 25 for incoming data, just set the smt host to your external ip as you did. this is okay because noone else can reach port 25.

do not install postfix inside the container, this is problematic for updates.

   


Am 12.04.2020 um 19:22 schrieb Haris Sketo:
Now I understood what I was missing. I have a dedicated server where there I installed bbb and greenlight with install script. Also I installed at the dedicated server postfix, not inside the image/container. If I login with ssh at the image and install/configure postfix, will my problem solved ?

Also then if I install postfix inside the container, do I have to commit again my custom image in order to save it in case doing docker-compose down and up?

By inbound / outbound I mean that my dedicated server (bare metal) has a hardware firewall that blocks incoming traffic at port 25 and allows outgoing traffic from 25

On Sun, 12 Apr 2020, 20:14 Martin Thomas Schrott, <li...@mtsonline.at> wrote:

I am not sure what you mean.

have you installed / added postfix in the docker container?

or what do you mean by inbound and outbound?


...ok localhost was refering to the container so that is why it does not work for you here...

to secure the port 25 from outside you can just open it with iptables for the docker container / your own host ip.

you also should only allow mynetworks in postfix and set that to your ip.


Am 12.04.2020 um 19:06 schrieb Haris Sketo:
Thanks again for your help! Port 25 is blocked from inbound and unblocked at outbound. Permissions for send has only local subnets. I realized that whenever I compose up and down the greenlight image, it changes ip subnets. Is there any way to keep it static?

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/7f5a4d20-7c11-449e-8254-5132d62e87b2%40googlegroups.com.

Haris Sketo

unread,
Apr 12, 2020, 1:41:22 PM4/12/20
to bigbluebu...@googlegroups.com
That's what I have done. I cannot figure why greenlight doesn't play with tls. 

I have run this command at my host server: ip addr 

There is a docker bridge adapter that every time I reload the greenlight image, it changes ip. That means that I have to edit my postfix main.cf file and add the docker ip at trusted networks in order be able to send emails from greenlight.

You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/-HP6ssVes38/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/d30a996b-ea7a-c55e-dc9f-c6a63f901b80%40mtsonline.at.

Martin Thomas Schrott

unread,
Apr 12, 2020, 2:35:48 PM4/12/20
to bigbluebu...@googlegroups.com, Haris Sketo

I see.

as nobody can send via your private postfix instance,you just can allow every ip...

either set mynetworks to 0.0.0.0 (not sure if this is allowed, but I guess yes)

or remove "permit_my_networks" in the main.cf file and move "permit" up. so every ip is allowed.


best

Martin

Reynold Fendidjaja

unread,
Apr 13, 2020, 2:49:55 AM4/13/20
to BigBlueButton-Setup
I have a question regarding this .env file. 

First of all, my main issue is I don't have the reset button to send email for resetting password of users.
I know I had put in the right config in .env for my SMTP settings.

The main question is, does BBB server installation from SH script include any SMTP server which I only need to type in the correct settings of the SMTP of my email, or I have to install another application to such as smtp server (I guess in this case is postfix) so it will run?

My impression is, I don't have to install other things other than making sure the .env setting is correct.

But I am not getting any SMTP check... so confusing and still getting no answer to resolve my issue until today.

Thanks

Martin Thomas Schrott

unread,
Apr 13, 2020, 3:37:00 AM4/13/20
to bigbluebu...@googlegroups.com, Reynold Fendidjaja

have a look at the other threads on smtp / mail problems here, they are explaining quite everything :-)

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

Reynold Fendidjaja

unread,
Apr 13, 2020, 3:43:29 AM4/13/20
to Martin Thomas Schrott, bigbluebu...@googlegroups.com
I did actually. But still not getting the answer that solves the problem. 

Tho in BBB 2.2 uses it's own configuration and does not require any other SMTP server relay to get it to work, but still couldn't get the button (reset password) to work. 

Please advice. 
 
Thank you

Reynold Fendidjaja
skype: Reynold Fendidjaja
Whatsapp# +62 813 1880 0543


Martin Thomas Schrott

unread,
Apr 13, 2020, 3:47:34 AM4/13/20
to bigbluebu...@googlegroups.com, Reynold Fendidjaja

Am 13.04.2020 um 09:43 schrieb Reynold Fendidjaja:
> I did actually. But still not getting the answer that solves the problem.
>
> Tho in BBB 2.2 uses it's own configuration and does not require any
> other SMTP server relay to get it to work, but still couldn't get the
> button (reset password) to work.


you always need an smtp server, and how to configure it really was
discussed here in the past days more than once ;-)


Reynold Fendidjaja

unread,
Apr 13, 2020, 3:50:26 AM4/13/20
to Martin Thomas Schrott, bigbluebu...@googlegroups.com
So that means I do need the postfix to send out email.. duhh..

No wonder.. thx

Martin Thomas Schrott

unread,
Apr 13, 2020, 3:52:39 AM4/13/20
to bigbluebu...@googlegroups.com, Reynold Fendidjaja

...no, you need an smtp server where you send the mails to ... just define one in the .env file.

This also can be your gmail or whatever ... or your own server.

believe me, there are plenty of discussions here on that - even with gmail config ;-)

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

Reynold Fendidjaja

unread,
Apr 13, 2020, 3:55:04 AM4/13/20
to Martin Thomas Schrott, bigbluebu...@googlegroups.com
Yes, but simply to say its not just changing the env file and putting the server config right?

I still have to install postfix or similar product.

Martin Thomas Schrott

unread,
Apr 13, 2020, 3:56:54 AM4/13/20
to bigbluebu...@googlegroups.com, Reynold Fendidjaja

Am 13.04.2020 um 09:54 schrieb Reynold Fendidjaja:
> Yes, but simply to say its not just changing the env file and putting
> the server config right?
>
> I still have to install postfix or similar product.
>

no it simply is putting the right config :-)


Reynold Fendidjaja

unread,
Apr 13, 2020, 3:59:47 AM4/13/20
to Martin Thomas Schrott, bigbluebu...@googlegroups.com
Awesome, thanks! 

So then there might be something else with the company's email server. At least I know for sure now since its narrowed down to it.

Also, the docker compose check does not test the smpt..
I use custom build image.. 

Martin Thomas Schrott

unread,
Apr 13, 2020, 5:40:48 AM4/13/20
to bigbluebu...@googlegroups.com, Reynold Fendidjaja

Am 13.04.2020 um 09:59 schrieb Reynold Fendidjaja:
> Awesome, thanks!
>
> So then there might be something else with the company's email server.
> At least I know for sure now since its narrowed down to it.
>
> Also, the docker compose check does not test the smpt..
> I use custom build image..
>

if the check does not show smtp you may have misconfigured something. (I
think people always got check results when everything was set up correctly.)

best

Martin


Reynold Fendidjaja

unread,
Apr 13, 2020, 5:56:30 AM4/13/20
to Martin Thomas Schrott, bigbluebu...@googlegroups.com
So with custom config of Greenlight,

Does this command still suffice "docker run --rm --env-file .env bigbluebutton/greenlight:v2 bundle exec rake conf:check" or this  "docker run --rm --env-file .env custom_greenlight release-v2 bundle exec rake conf:check" ?

I don't know what else and I couldn't find any thing wrong in the log regarding SMTP.

Thank you

Reynold Fendidjaja
skype: Reynold Fendidjaja
Whatsapp# +62 813 1880 0543


Reynold Fendidjaja

unread,
Apr 14, 2020, 3:20:44 AM4/14/20
to BigBlueButton-Setup
Do I have to do some other settings such as ufw config or something after putting down the SMTP configuration in the .env file?

This is really confusing... I followed the procedures correctly (I think) and I don't see anywhere says I need to configure firewall??

Please advice...
 
I know I have the right settings of SMTP connection.. but don't know why it's not working..

Or I don't know if it working or not.. All I know the check does not test the SMTP connection. 

Reynold Fendidjaja

unread,
Apr 17, 2020, 10:26:40 AM4/17/20
to BigBlueButton-Setup
Hi, I am back again.

Here is what I have when I do "ufw status"
I got all port needed open including 25, 465, 587, 2525.

I double check with the domain hosting company for my email to make sure the 465 is not being block from outside.

I still not able to get this through and getting: Error connecting to SMTP - Net::ReadTimeout

Again, I also did make sure to verify my SMTP settings to put in .env 

it's so confusing..

Any advice?

Thanks
Reply all
Reply to author
Forward
0 new messages