Reset Search
 

 

Article

HOW TO Configure Extreme Management Center SMTP for Gmail, Microsoft SMTP, Exchange, Office 365 & Other Services

« Go Back

Information

 
TitleHOW TO Configure Extreme Management Center SMTP for Gmail, Microsoft SMTP, Exchange, Office 365 & Other Services
Objective
A guide for how to configure Extreme Management Center to support various third-party and alternative SMTP mail server configurations.
Environment
  • Extreme Management Center (formerly NetSight)
  • SMTP (Simple Mail Transport Protocol)
  • Gmail
  • Windows Server SMTP Server
  • Microsoft Exchange
  • Office 365
Procedure
NOTE: The following requires modification of the NSJBoss.properties configuration on the management server. It is recommended to make a backup of this file prior to any modification.
  1. Connect via console or SSH to the XMC appliance.
  2. Change to the directory where the XMC configuration file is located.
Ubuntu / OVA: /usr/local/Extreme_Networks/NetSight/appdata
Windows: \Program Files\Extreme_Networks\NetSight\appdata
  1. Edit the NSJBoss.properties configuration file.
    1. For SSL-based authentication, add or modify the following lines:
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
  1. For TLS or STARTTLS-based authentication, add or modify the following lines:
mail.smtp.port=587
mail.smtp.auth=true
mail.smtp.starttls.enable=true
  1. Save the changes to the NSJBoss.properties file.
  2. Restart the Extreme Management Center server service or reboot the appliance as described @ How to restart Netsight / Extreme Management Center services on linux or Windows Server Platforms.

Microsoft Windows SMTP Server, Exchange, Office 365
  1. Log into the Extreme Management Center GUI
  2. Click Administration
  3. Click Options
  4. Click SMTP Email
  5. Outgoing Email (SMTP) Server: <server_IP> or <server_FQDN>
  6. Sender's Email Address: <username@domain.com>
  7. Sender's Password: <your_username_password>
  8. Click Save.
NOTE: If "anonymous" authentication is to be used on the SMTP server, leave the password field empty.
 
Google Gmail
 
NOTICE: [UPDATED MAY 2020] Google is eliminating support for SMTP clients that use username and password authentication including the client included with Extreme Management Center. The following instructions may no longer work starting March 2020 onwards as Google begins to restrict access to clients that previously functioned when "Allow Less Secure Apps" was enabled. Additional information on this can be found here.
2020-05-18 12:40:07,345 ERROR [com.enterasys.netsight.server.notification.NotifyEmailSender] Unable to send E-Mail.  535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials 21sm8682425qkv.126 - gsmtp

The following instructions are provided for informational purposes where accounts have yet to be restricted by Google:
  1. Log into the Extreme Management Center GUI
  2. Click Administration
  3. Click Options
  4. Click SMTP Email
  5. Outgoing Email (SMTP) Server: smtp.gmail.com
  6. Sender's Email Address: <username@gmail.com>
  7. Sender's Password: <your_username_password>
  8. Click Save.
Additional modification of security settings for the Gmail account IS REQUIRED. Failure to enable "Allow Less Secure Apps" will result in a Java AuthenticationFailedException. Additional information on "Allow Less Secure Apps" can be found here.
  1. Logon to Gmail
  2. Navigate to My Account
  3. Navigate to Sign In & Security
  4. Find the option for "Allow Less Secure Apps".
  5. Toggle the option from OFF to ON.
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

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

Characters Remaining: 255