Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NMIS provides the capability to notify users when various events are detected.  The main method of nofication is using email, but many others are available.

Table of Contents

Configuring Mail Server

To access the settings, from the menu access "System -> System Configuration -> NMIS Configuration"

...

The required configuration needs to be put in here:

Email Server Configuration Table

These are the options we have tested and recommend for various email servers.

ConfigurationDescriptionRegular SMTP ServerGMail SMTP ServerOffice 365 SMTP Server
mail_combineDo you want to combine emails for each email target?true
mail_fromEmail address you want to use for NMIS notificationsnmis@domain.com
mail_serverThe mail FQDN or IP addressyourmailserver.domain.comsmtp.gmail.comsmtp.office365.com
mail_server_ipproto

Should we use IPv4 or IPv6 to connect (IPv6 will only
work if you have end to end IPv6 connectivity)

ipv4ipv4ipv4
mail_server_portThe TCP port to use for connection25587587
mail_use_tlsShould the TLS protocol be usedfalsetruetrue
mail_use_saslShould the SASL protocol be usedfalsefalsefalse
mail_userThe username to login with, blank for nothing youruser@gmail.comyouruser@office365.com
mail_passwordThe password to login with, blank for nothing yourpasswordyourpassword
mail_domaindomainname to use for SMTPdomain.comgmail.comoffice365.com

Testing Email Server Connection

Once you have configured your email server, it is best to test it, login to your NMIS server and run the command /usr/local/nmis8/admin/testemail.pl, this will send an email to the Contact configured as Contact1.  If you have problem you can run /usr/local/nmis8/admin/testemail.pl debug=true which will provide very verbose output for what the problem might be.

...