Page 1 of 2

Mail notification not working

Posted: Thu Aug 08, 2013 2:11 am
by inderraw
Dear Team,

I am not getting mail notification alert, i am using Red hat 4.1 version, for mail detail please find enclosed attachment.

Regards
Inder Singh Rawat

Re: Mail notification not working

Posted: Thu Aug 08, 2013 8:04 am
by scottwilkerson
The likely problem is that if you are using Amazon ec2 you will need to use SMTP. Setting are in Admin -> Manage Email Settings

Re: Mail notification not working

Posted: Thu Aug 08, 2013 11:31 am
by inderraw
how to do smtp setting and where i need to do.
Please help

Re: Mail notification not working

Posted: Thu Aug 08, 2013 11:56 am
by inderraw
Dear Team,

Previously i was getting mail notification, but i configured same setting in my new nagios setup.
But in this setup not getting mail notification.

Regards
Inder Singh rawat

Re: Mail notification not working

Posted: Thu Aug 08, 2013 12:00 pm
by abrist
Have you configured smtp in XI? To do so, go to Admin --> Manage email settings --> and then configure smtp.
If you continue to have problems, post the output of:

Code: Select all

tail -25 /var/log/maillog

Re: Mail notification not working

Posted: Thu Aug 08, 2013 12:20 pm
by inderraw
Dear Team,

Please find enclosed attached mail log, please suggest

Re: Mail notification not working

Posted: Thu Aug 08, 2013 12:24 pm
by abrist

Code: Select all

Aug  8 12:49:21 ip-10-28-129-223 sendmail[10775]: r78GnLeI010775: [email protected], size=861, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost
Aug  8 12:49:21 ip-10-28-129-223 sendmail[10775]: r78GnLeI010775: [email protected], [email protected] (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30861, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug  8 12:53:22 ip-10-28-129-223 sendmail[11906]: r78GrMx7011906: Authentication-Warning: ip-10-28-129-223.ec2.internal: apache set sender to [email protected] using -f
Let me reiterate again. You mail is being denied because you are not using smtp, you are using sendmail. You *NEED* to configure your mail settings for SMTP!

Re: Mail notification not working

Posted: Sun Aug 11, 2013 11:47 am
by inderraw
Dear Team,

I used smtp setting, but problem still remain same.
But in my previous nagios setting, i used same send mail setting, it was working fine,now this time why it's not working.

Regards
Inder Singh Rawat

Re: Mail notification not working

Posted: Mon Aug 12, 2013 9:46 am
by abrist
What errors are you receiving now?
Was your previous configuration in the EC2 cloud?

Re: Mail notification not working

Posted: Tue Aug 13, 2013 12:30 pm
by inderraw
Thanks problem have been resolved now.