Could be, check openmeetings.log to see if the service has started ...

Ali


On 12/27/20 10:26 AM, GuruCoool Learnings wrote:
One more thing I remember I did. In OM >> Administration >> Configuration, I erased the records of smtp records like server email, port number etc.
Can this be a reason for "This site can’t be reached"?

On Sun, 27 Dec 2020 at 12:43, GuruCoool Learnings <[email protected] <mailto:[email protected]>> wrote:

    I was trying to check the ports by the command
    netstat -a -n

    and made no change there. After that I just restarted the server
    and unfortunately, the server is not accessible.
    It says,"This site can’t be reached".

    I don't know what to do now.

    Regards
    Jitendra

    On Sun, 27 Dec 2020 at 11:54, Maxim Solodovnik
    <[email protected] <mailto:[email protected]>> wrote:

        please read this article:
        https://support.google.com/a/answer/176600?hl=en
        Especially this Use the Gmail SMTP server part

        as i wrote before
        for TLS (port 587) you have to enable
        "mail.smtp.starttls.enable" in OM -> Admin -> Config
        for SSL (port 465) you have to enable "mail.smtp.ssl.enable"
        in OM -> Admin -> Config

        and check if connection to smtp.gmail.com
        <http://smtp.gmail.com> through the port selected is allowed
        from your OM server

        On Sun, 27 Dec 2020 at 12:09, GuruCoool Learnings
        <[email protected] <mailto:[email protected]>> wrote:

            Hello dear Maxim,
            By security options, do you mean Forwarding and POP/IMAP
            in my Gmail?
            If yes, I have enabled it already. If no, then please
            guide me what exactly I need to do for correct security
            options.

            Also, you mentioned about firewall settings, please guide
            me on this also.

            Thanks and regards
            Jitendra

            On Sat, 26 Dec 2020 at 08:37, GuruCoool Learnings
            <[email protected] <mailto:[email protected]>> wrote:

                Thanks. Please guide me for correct security options
                and firewall settings. I am not savy with these
                processes.

                Thanks & Regards
                Jitendra

                On Sat, Dec 26, 2020, 07:18 Maxim Solodovnik
                <[email protected] <mailto:[email protected]>>
                wrote:

                    The correct settings for gmail are here:
                    https://support.google.com/mail/answer/7126229?hl=en

                    You have to specify only ONE of
                    mail.smtp.starttls.enable
                    mail.smtp.ssl.enable

                    timeout error might be because you are not setting
                    correct security option
                    Or maybe your provider/firewall blocks the connection


                    On Fri, 25 Dec 2020 at 22:20, GuruCoool Learnings
                    <[email protected] <mailto:[email protected]>>
                    wrote:

                        Nothing happened even after restarting the
                        server.

                        Jitendra

                        On Fri, 25 Dec 2020 at 13:44, GuruCoool
                        Learnings <[email protected]
                        <mailto:[email protected]>> wrote:

                            Okay. I will try and then will let you know.

                            Thanks
                            Jitendra

                            On Fri, Dec 25, 2020, 13:29 Ali Alhaidary
                            <[email protected]
                            <mailto:[email protected]>> wrote:

                                You must restart the server so tat any
                                new settings can take effect

                                Ali

                                On 12/25/20 3:54 AM, GuruCoool
                                Learnings wrote:
                                It shows error message in OM email
                                management section only.

                                Jitendra

                                On Fri, Dec 25, 2020, 01:17 Alvaro
                                <[email protected]
                                <mailto:[email protected]>> wrote:

                                    ...right now i tested my OM 5.1.0
                                    at localhost  and gmail
                                    configuration and send mail ok to
                                    "[email protected]
                                    <mailto:[email protected]>".

                                    Please take a look in your spam
                                    Gmail web.


                                    .....................


                                    El jue, 24-12-2020 a las 23:20
                                    +0530, GuruCoool Learnings escribió:
                                    Tried both 587 and 465 one by
                                    one but didn't find any
                                    solution. However thanks for
                                    your replies.

                                    I have one more query. generally
                                    openmeetings generates user
                                    specific invitation links. Is it
                                    possible to create invitation
                                    links that can be given to
                                    anyone who is not registered on
                                    my server?

                                    On Thu, 24 Dec 2020 at 23:16,
                                    Ali Alhaidary
                                    <[email protected]
                                    <mailto:[email protected]>>
                                    wrote:

                                    It did not work with me as well :-)

                                    try port 465

                                    Ali

                                    On 12/24/20 8:23 PM, GuruCoool
                                    Learnings wrote:
                                    gurucoool.com
                                    <http://gurucoool.com> is my
                                    main site where I use the same
                                    gmail smtp details that I want
                                    to use with openmeetings.
                                    Gmail smtp works fine with my
                                    main site gurucoool.com
                                    <http://gurucoool.com> but is
                                    not working with openmeetings.

                                    On Thu, 24 Dec 2020 at 13:05,
                                    Ali Alhaidary
                                    <[email protected]
                                    <mailto:[email protected]>>
                                    wrote:

                                    I think you should use the
                                    SMTP of gurucool.com
                                    <http://gurucool.com> instead

                                    Ali

                                    On 12/24/20 10:06 AM,
                                    GuruCoool Learnings wrote:
                                    Hi Ali,
                                    I have followed the
                                    guidelines provided by the
                                    openmeetings documentation
                                    which is as follows-

                                    A valid example to configure
                                    the mail server with Gmail,
                                    is as follows:
                                    (replace [email protected]
                                    <mailto:[email protected]> with
                                    your real Gmail account)

                                    Mail-Refer ==
                                    [email protected]
                                    <mailto:[email protected]>
                                    SMTP-Server ==
                                    smtp.gmail.com
                                    <http://smtp.gmail.com>
                                    SMTP-Server Port (default
                                    Smtp-Server Port is 25) == 587
                                    SMTP-Username ==
                                    [email protected]
                                    <mailto:[email protected]>
                                    SMTP-Userpass == password of
                                    [email protected]
                                    <mailto:[email protected]>
                                    (this is the one I use to
                                    open the mail box at
                                    [email protected]
                                    <mailto:[email protected]>)
                                    Enable TLS in Mail Server
                                    Auth == ...turn green the
                                    button to activate
                                    Default Language == English

                                    ...the rest you can change
                                    it as you likes.

                                    However can it would be a
                                    great help if you can
                                    clarify what actually you
                                    mean by the following-

                                    Host name is wrong or
                                    Connection security is wrong or
                                    service is not available or

                                    Thanks
                                    Jitendra




                                    On Thu, 24 Dec 2020 at
                                    11:24, Ali Alhaidary
                                    <[email protected]
                                    <mailto:[email protected]>>
                                    wrote:

                                    Hi,

                                    It is either:

                                    Host name is wrong or
                                    SMTP server name is wrong or
                                    Port number is wrong or
                                    Connection security is wrong or
                                    User name is wrong or
                                    pass word is wrong or
                                    service is not available or
                                    some of the above or
                                    all of the above

                                    Try searching the mailing
                                    list, the solution is there
                                    as you need to check each
                                    and every one ...

                                    :-)


                                    On 12/23/20 2:18 PM,
                                    GuruCoool Learnings wrote:
                                    Hi,
                                    I am facing mail sending
                                    error in my openmeetings
                                    server. Whenever I try to
                                    send a mail I get an error
                                    message as follows-
                                    Error Count 5
                                    Last Error
                                    com.sun.mail.util.MailConnectException:
                                    Couldn't connect to host,
                                    port: smtp.gmail.com
                                    <http://smtp.gmail.com>,
                                    587; timeout 30000; nested
                                    exception is:
                                    java.net.SocketTimeoutException:
                                    connect timed out at
                                    
com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2209)
                                    at
                                    
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:740)
                                    at
                                    javax.mail.Service.connect(Service.java:388)
                                    at
                                    javax.mail.Service.connect(Service.java:246)
                                    at
                                    javax.mail.Service.connect(Service.java:195)
                                    at
                                    
javax.mail.Transport.send0(Transport.java:254)
                                    at
                                    
javax.mail.Transport.send(Transport.java:124)
                                    at
                                    
org.apache.openmeetings.core.mail.MailHandler.lambda$send$0(MailHandler.java:221)
                                    at
                                    
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                                    at
                                    
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                                    at
                                    
java.base/java.lang.Thread.run(Thread.java:834)
                                    Caused by:
                                    java.net.SocketTimeoutException:
                                    connect timed out at
                                    
java.base/java.net.PlainSocketImpl.socketConnect(Native
                                    Method) at
                                    
java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
                                    at
                                    
java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
                                    at
                                    
java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
                                    at
                                    
java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
                                    at
                                    
java.base/java.net.Socket.connect(Socket.java:609)
                                    at
                                    
com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:357)
                                    at
                                    
com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)
                                    at
                                    
com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2175)
                                    ... 10 more
                                    Please help.
                                    Thanks
                                    Jitendra





-- Best regards,
                    Maxim



-- Best regards,
        Maxim

Reply via email to