SMTP Not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vikramsra
Posts: 8
Joined: Mon Feb 14, 2011 11:35 pm

SMTP Not working

Post by vikramsra »

I have configured SMTP settings for sending the mail and i an able to get test mails but the notifications are still coming using sendmail and landing to my spam folder. I am using the latest version of nagiosxi just downloaded today.

Please help

Thanks in advance

Vikram
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: SMTP Not working

Post by slansing »

Did you make sure to switch the radio button from Sendmail to SMTP in Admin > Manage Email Settings? And of course configure with the correct information there? Have you done any hand customization of your MTA on this server?
vikramsra
Posts: 8
Joined: Mon Feb 14, 2011 11:35 pm

Re: SMTP Not working

Post by vikramsra »

Yes I have switched it to SMTP and i am getting the test mail. And I have not configured the mta
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: SMTP Not working

Post by abrist »

You should not have to configure the mta if you are sending notifications to XI users (who were set up as contacts). Are you configuring XI users (which use the xi notification handlers), or just configuring contacts with the core handlers?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vikramsra
Posts: 8
Joined: Mon Feb 14, 2011 11:35 pm

Re: SMTP Not working

Post by vikramsra »

SMTP details are working fine as i am getting the email in my inbox but the other notifications where i am using xi-notification handler in the contact are going into the spam folder
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: SMTP Not working

Post by abrist »

vikramsra wrote: are going into the spam folder
This is an email server or local email client setting and cannot be controlled by the XI server itself.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vikramsra
Posts: 8
Joined: Mon Feb 14, 2011 11:35 pm

Re: SMTP Not working

Post by vikramsra »

I know thats mail server settings. I am saying nagios is not sending the notification using SMTP. It is using the local mail command. As i can see in the mail header. But the email test is working fine and sending mail which is coming in Inbox
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: SMTP Not working

Post by abrist »

So, just to clarify:
vikramsra wrote:SMTP details are working fine as i am getting the email in my inbox but the other notifications where i am using xi-notification handler in the contact are going into the spam folder
The test email works but notifications using the xi handlers are ending up in the spam folder?
vikramsra wrote:I know thats mail server settings. I am saying nagios is not sending the notification using SMTP. It is using the local mail command. As i can see in the mail header. But the email test is working fine and sending mail which is coming in Inbox
The XI handlers'a are using the local mail command (sendmail) instead of the php mailer?

Are you sure you don't have the old notify_*_by_email and the xi_*_notificaiton_handler configured for the notification commands on your contacts?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked