Page 1 of 1

SMTP Not working

Posted: Fri May 24, 2013 9:07 am
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

Re: SMTP Not working

Posted: Fri May 24, 2013 12:51 pm
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?

Re: SMTP Not working

Posted: Fri May 24, 2013 11:45 pm
by vikramsra
Yes I have switched it to SMTP and i am getting the test mail. And I have not configured the mta

Re: SMTP Not working

Posted: Tue May 28, 2013 11:54 am
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?

Re: SMTP Not working

Posted: Mon Jun 10, 2013 11:44 pm
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

Re: SMTP Not working

Posted: Tue Jun 11, 2013 9:43 am
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.

Re: SMTP Not working

Posted: Tue Jun 11, 2013 10:07 pm
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

Re: SMTP Not working

Posted: Wed Jun 12, 2013 9:45 am
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?