Announcement

Collapse
No announcement yet.

Mail Configuration - Alert

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mail Configuration - Alert

    I am configuring alert email server and have not been receiving emails. After trying numerous mail address servers and settings.

    I noted a Java Error in the logs when test key is pushed in the config after or before submit.

    Any ideas on how to resolve this?

    I have tested that i can ping the mail server, and there are no firewall blocks involved. Any Help would be appreciated.

    Logs are below.

    Anthony

    java.net.ConnectException: Connection refused (Connection refused)
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(Abstrac tPlainSocketImpl.java:350)
    at java.net.AbstractPlainSocketImpl.connectToAddress( AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractP lainSocketImpl.java:188)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:392)
    at java.net.Socket.connect(Socket.java:607)
    at com.sun.mail.util.SocketFetcher.createSocket(Socke tFetcher.java:310)
    at com.sun.mail.util.SocketFetcher.getSocket(SocketFe tcher.java:236)
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:2019)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:697)
    at javax.mail.Service.connect(Service.java:386)
    at javax.mail.Service.connect(Service.java:245)
    at javax.mail.Service.connect(Service.java:194)
    at javax.mail.Transport.send0(Transport.java:253)
    at javax.mail.Transport.send(Transport.java:124)
    at nxd.a.e.a(Unknown Source)
    at nxd.a.e.b(Unknown Source)
    at nxd.a.c.b(Unknown Source)
    at nxd.dao.AlertDao.test(Unknown Source)
    at org.apache.jsp.system_002calert_jsp.test(system_00 2calert_jsp.java:856)
    at org.apache.jsp.system_002calert_jsp._jspService(sy stem_002calert_jsp.java:1264)
    at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:764)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:466)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:379)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:764)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:227)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:162)
    at nxd.www.CharsetFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:189)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:162)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:197)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:97)
    at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:541)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:135)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:92)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:78)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:360)
    at org.apache.coyote.http11.Http11Processor.service(H ttp11Processor.java:399)
    at org.apache.coyote.AbstractProcessorLight.process(A bstractProcessorLight.java:65)
    at org.apache.coyote.AbstractProtocol$ConnectionHandl er.process(AbstractProtocol.java:890)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProce ssor.doRun(NioEndpoint.java:1787)
    at org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49)
    at org.apache.tomcat.util.threads.ThreadPoolExecutor. runWorker(ThreadPoolExecutor.java:1191)
    at org.apache.tomcat.util.threads.ThreadPoolExecutor$ Worker.run(ThreadPoolExecutor.java:659)
    at org.apache.tomcat.util.threads.TaskThread$Wrapping Runnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:750)

  • #2
    It says "Connection refused" but you can connect the port from your system? If you use SSL, try to use TCP/25.

    Comment


    • #3
      I have the port setup correct with the mail server, I have tested the webmail and setting up a new maill client to ensure all settings are correct. Still have the same error. I will try and find another mail server provideer to test with and report back.

      Comment


      • #4
        Yeah, try another one. We use a mail server from our hosting company. They support Plain Text and SSL both. Both of them work fine. But we can't say that it will be working with others. We also experienced some mail server not working in the past.

        Comment


        • #5
          I have tested using a smtpgrid mail server, designed for volume, I have also tested smtp.freesmtpservers.com which does not even require authentication, the error persists and has not changed. Any ideas?

          Comment


          • #6
            Send us your SMTP email credentials at 'support@nxfilter.org'. We can test them with our server.

            Comment


            • #7
              Your system might not load your config properly. In that case, you need to restart it. After enter your first settings and then restart it. We will test it with our system also.

              Comment


              • #8
                Mail has been sent - thank you

                Comment


                • #9
                  Did you get an email? I guess that there's a problem with loading new config.

                  Comment


                  • #10
                    I did recieve one from my system now with Signup test as well. It appears a reboot was needed. - THank you for the help.

                    Comment


                    • #11
                      We changed its email library several months ago as the old one made a lot of troubles with SSL emails. One problem with the new library is that the new one keeps email settings statically. Seems like we have to restart it when we change email settings even though it's not that desirable. We will add a warning for that.

                      Comment

                      Working...
                      X