Reset Search
 

 

Article

How to setup NetSight to use Gmail

« Go Back

Information

 
TitleHow to setup NetSight to use Gmail
Objective
Setup NetSight to send email using Gmail and also Microsoft Office 365
Environment
  • NetSight
  • Console
  • Inventory Manager
  • NAC Manager
  • Policy Manager
  • Automated Security Manager
Procedure
1.  Edit the file NetSight_Install_Directory/NetSight/appdata/NSJBoss.properties on the NetSight server:

2a.  If SSL Authentication to GMAIL is desired, add the following lines to the end of the file:
mail.smtp.port=465
mail.smtp.socketFactory.port=465
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
mail.smtp.socketFactory.fallback=false
mail.smtp.starttls.enable=true

2b. If TLS Authentication to GMAIL is desired, add the following lines to the end of the file:
mail.smtp.port=587
mail.smtp.auth=true
mail.smtp.starttls.enable=true

3.  Save the changes.

4.  Restart the NetSight server services. 
Additional notes

NOTE: If there are trailing spaces at the end of each of the NSJBoss.properties configuration lines this configuration will not work.

With trailing spaces you may see behavior where the test email is registered as "success", but no actual email is sent from the NetSight server and no SMTP traffic is seen sourced for the ethernet port.

Make sure that each line does NOT include a trailing space



---------------------------------------------------------------------------------------------------------------------------------------------------------------
Notes on Gmail account settings
We have found that the following needs to be set currently in order for Netsight to login to the account directly.
If this is not entered, java authentication error will occur when the 'test email' button is hit. See below

User-added image

To address this

From Gmail
1. Go to My account
2. Go to Sign In and Security
User-added image
3. Scroll to bottom, look for "Allow Less Secure Apps"
4. Toggle from OFF to ON
User-added image

Further information on allowing less secure apps in Google, can be found here:
https://support.google.com/accounts/answer/6010255?hl=en
 

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255