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.
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=greenlightINFO: [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=greenlightINFO: [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=greenlightINFO: [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=greenlightINFO: [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=greenlighthave 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.
...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.
# 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 fromSMTP_SENDER=no-r...@mymail.gr
Checking environment: PassedChecking Connection: PassedChecking Secret: PassedChecking SMTP connection: FailedError connecting to SMTP - Connection refused - connect(2) for ""To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/56e1e384-bdab-4d1d-8f4d-369295eb2c43%40googlegroups.com.
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
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
> an email to bigbluebutton-setup+unsub...@googlegroups.com
> <mailto:bigbluebutton-setup+unsub...@googlegroups.com>.
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.
# 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=trueTo unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
Checking environment: PassedChecking Connection: PassedChecking Secret: PassedChecking SMTP connection: PassedINFO: [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 certificateINFO: [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=greenlightINFO: [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
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>
...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.
# 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=localhostSMTP_PORT=25SMTP_DOMAIN=systemcon.gr#SMTP_USERNAME=#SMTP_PASSWORD=#SMTP_AUTH=login#SMTP_STARTTLS_AUTO=falseChecking environment: PassedChecking Connection: PassedChecking Secret: PassedChecking SMTP connection: FailedError connecting to SMTP - Address not available - connect(2) for "localhost" port 25# SMTP_USERNAME=<your...@gmail.com>
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/2e6005f9-8744-4272-a980-2441878f1576%40googlegroups.com.
...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.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/7f5a4d20-7c11-449e-8254-5132d62e87b2%40googlegroups.com.
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.
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.
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?
> 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>.
--
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/17f46302-b959-480a-85b7-6176fcbcdd38%40googlegroups.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/2e6005f9-8744-4272-a980-2441878f1576%40googlegroups.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.
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.
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
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/CAGUygz%2Bi%3Dw374r%3DprB-nuVA%2BV0DEvcD2bKAi%3DcA5ENmCZyJoZw%40mail.gmail.com.
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/0a04c0d9-54d4-4738-86bc-2dde298022c5%40googlegroups.com.
...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.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/CA%2BksK4Dc2%3D2d%3DzVuLWsb1owwALhaLoMy9szJA1X4xSpL7EaY8A%40mail.gmail.com.