Page 1 of 1

How to change email server

Posted: Fri Jan 17, 2020 11:09 am
by lgaddam
Hi,

We got a message from Exchange team that they are going to decommission Legacy Exchange server and take necessary actions. Below is the message I got from teams.

"Nagios is currently sending emails through the old relay servers of our environment. That means that once we move the records the emails that Nagios sent could be consider as Spam.

I encourage to you to configure this Nagios environment in order to send emails through office 365 instead of the relays as soon as possible. For this you can request a shared mailbox in Explore IT and configure the 172.27.254.26 as a email server."


What I have to do now ? Kindly advise appropriate actions what I should do before they do decommission ?
Will this effect anything in Nagios ?

Re: How to change email server

Posted: Fri Jan 17, 2020 1:57 pm
by scottwilkerson
lgaddam wrote: "Nagios is currently sending emails through the old relay servers of our environment. That means that once we move the records the emails that Nagios sent could be consider as Spam.

I encourage to you to configure this Nagios environment in order to send emails through office 365 instead of the relays as soon as possible. For this you can request a shared mailbox in Explore IT and configure the 172.27.254.26 as a email server."
It looks like your staff already directed you on what to do.

For the where to change the settings in Nagios XI, you can see them in this document
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: How to change email server

Posted: Thu Jan 23, 2020 2:49 am
by lgaddam
Thanks for the document.
Please check attachment the email settings which we have earlier.
With this settings, what actually we need to understand in the setup.
And also according to this earlier setup, what action we need to do now.

Re: How to change email server

Posted: Thu Jan 23, 2020 7:33 am
by scottwilkerson
So am I understanding this correctly you have this set to you SMTP on localhost?

Re: How to change email server

Posted: Mon Jan 27, 2020 12:32 am
by lgaddam
Yes, it was the settings I see that , configured long back in the system.
Now i need to do changes as per my earlier request.

Re: How to change email server

Posted: Mon Jan 27, 2020 11:12 am
by benjaminsmith
Hello @Igaddam,

You're going to want to fill in the SMTP settings for your Office 365 account. Do you have the username/password for your account from the Admin? Typically the port would be 587 over TLS, but I would ask you mail server team the exact credentials to use.

Re: How to change email server

Posted: Tue Jan 28, 2020 1:07 am
by lgaddam
Before I change the settings, I have to understand the earlier configuration of smtp settings.
It is written localhost and port 25....what does it mean...how it works and what are the config files related to it.
Kindly help me to get more details on my earlier settings...

Re: How to change email server

Posted: Tue Jan 28, 2020 11:04 am
by benjaminsmith
Hello @Igaddam,

The guide below good overview and instructions for configuring the email settings in Nagios XI.

Nagios XI - Understanding Email Settings
It is written localhost and port 25....what does it mean...how it works and what are the config files related to it.
That means the SMPT mail server resides on the XI machine. Normally, XI will use the default MTA ( Mail Transport Agent) provided by the operating system such as Sendmail or Postfix.

Port 25 is commonly used for transmitting mail messages but so is 587 and 465. Ask your admins for the exact credentials before making any changes.