Clarity

Expand all | Collapse all

Mail server to send notification is not working

  • 1.  Mail server to send notification is not working

    Posted Mar 01, 2018 01:45 PM

    We recently changed the mail server name used to send notification. Since that change we don't receive notification at all. The new mail server is reachable from CA application server (i can ping). The new mail server uses a different port number. However, there is no field for the port in the NSA. I would like to know:

    1- If the port could be causing the issue, how can we specify a new port number?

    2- The server does not require authentication, but the password field has asterisks and this is reflected in the proprieties.xml file

     

    We are on version 14.3

    Does anyone have an idea what would be the problem?

    Please find attached some screenshots.



  • 2.  Re: Mail server to send notification is not working

    Broadcom Employee
    Posted Mar 01, 2018 02:18 PM

    Could  you please check whether the new port is opened in the Application Server by doing a telnet.

     

    And also check the Notification Default Settings form the Administration-> Data Administration->Notifications and go to Notification Default Settings and Check whether the Email Notification Check box are checked.



  • 3.  Re: Mail server to send notification is not working

    Posted Mar 01, 2018 02:56 PM

    Hi,

    The notification settings checkboxes are all checked. How do you check if the new port is open by telnet?

    telnet mailserver port

     

    let me know please.



  • 4.  Re: Mail server to send notification is not working

    Posted Mar 02, 2018 12:55 AM

    George,

     

    You can check whether port is open in your network by telnet command (see below), if port is open, you will see a blank screen.

    telnet [domainname or ip] [port no.]

     

    Best Regards,

    Agin



  • 5.  Re: Mail server to send notification is not working

    Posted Mar 08, 2018 11:11 AM

    The new port is opened in the Application Server. The problem is not the port. Any other ideas?vadag01 ArunprasathRamachandran



  • 6.  Re: Mail server to send notification is not working

    Posted Mar 09, 2018 01:52 AM

    Are you using the jaspersoft for reporting? if yes,then we can test the email port by updating js.quartz.properties file

     [(jaspersoft tomcat)/reportservice/webapps/WEB-INF ]

    After that you can ran a schedule a jasper report and wait whether the report is coming to the email id's given.

     

    Thanks,

    Agin



  • 7.  Re: Mail server to send notification is not working

    Posted Mar 08, 2018 11:21 AM

    Try adding a port to the hostname  MyMailServer.MyDomain.com:25

     

    V/r,

    Gene



  • 8.  Re: Mail server to send notification is not working

    Broadcom Employee
    Posted Mar 08, 2018 02:14 PM

    Do you see notification under table CLB_NOTIFICATIONS. if that exist then there is issue at your email server and not PPM 



  • 9.  Re: Mail server to send notification is not working

    Posted Mar 08, 2018 03:36 PM

    I do see the notifications under the clb_norifications. We know the mail server is functional (it's used by other apps, and it's working). We know the notifications are generated by the app. The communication between the mailserver and the app is not working. It stopped working since we changed the port. Is there anywhere where you can specify the port in the tomcat configuration?



  • 10.  Re: Mail server to send notification is not working

    Broadcom Employee
    Posted Mar 09, 2018 12:38 AM

    You need to check if there is port conflict or not. May be TCP packet trace can provide more information 



  • 11.  Re: Mail server to send notification is not working

    Posted Mar 09, 2018 09:54 AM

    can you provide the command/procedure on how to achieve that?

    Thanks.



  • 12.  Re: Mail server to send notification is not working

    Posted Mar 08, 2018 03:33 PM

    Thanks for the tip. specified the port as mentioned, I restarted the background server and the app server from the NSA. No luck



  • 13.  Re: Mail server to send notification is not working

    Posted Mar 08, 2018 04:14 PM

    You could override the default port with a property setting.  I can't remember if there is a CSA option for additional properties but you can do it in serviceappcmd.conf and servicebgcmd.conf as a java additional.

     

    -Dmail.smtp.port=888

     

    V/r,

    Gene



  • 14.  Re: Mail server to send notification is not working

    Posted Mar 09, 2018 09:45 AM

    I added this line to both files with the proper port number. No luck.



  • 15.  Re: Mail server to send notification is not working

    Posted Mar 09, 2018 09:47 AM

    Is there anything that i need to do in order for the changes to take effect? I restarted the CA app and bg servers.



  • 16.  Re: Mail server to send notification is not working

    Posted Mar 09, 2018 01:53 PM

    Not that I can think of except maybe it need to be set on a different jvm.

     

    On a side note you could do a port redirect on server (assuming windows) just to test an email get sent.

     

    netsh interface portproxy add v4tov4 listenport=25 listenaddress=192.168.1.111 connectport=888 connectaddress=192.168.0.33

     

    V/r,

    Gene



  • 17.  Re: Mail server to send notification is not working

    Posted Mar 09, 2018 03:05 PM

    the serviceappcmd.conf and servicebgcmd.conf has the following format 

    wrapper.java.classpath.1=D:\\App\\clarity\\bin\\wrapper.jar

    wrapper.java.classpath.2=D:\\App\\Java\\jdk1.8.0_40\\lib\\tools.jar

    wrapper.java.classpath.3=D:\\App\\Tomcat\\apache-tomcat-8.0.20\\bin\\bootstrap.jar

    wrapper.java.classpath.4=D:\\App\\Tomcat\\apache-tomcat-8.0.20\\bin\\tomcat-juli.jar

     

    how are you supposed to add the -dmail.smtp.port=555 ?

    can you help with the proper format?



  • 18.  Re: Mail server to send notification is not working

    Posted Mar 09, 2018 03:18 PM

    In the JVM Parameters with a wrapper.java.additional

     

     

    V/r,

    Gene



  • 19.  Re: Mail server to send notification is not working
    Best Answer

    Posted Apr 11, 2018 09:10 AM

    The CA PPM default port is 25. This port is hard coded and not configurable. In order to solve our problem, we had to enable DNS Forwarding capabilities from our application servers and reverse lookup from the mail server side. That solved our problem.