Mail Settings

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sdoan01
Posts: 16
Joined: Fri Oct 07, 2011 4:28 pm

Mail Settings

Post by sdoan01 »

Under General Mail Setting, I am trying to setup mail method through "Sendmail". It was working on an old Nagios Server, but I had to reinstall Nagios Server and now it is not working. When I click on "send a test email" using "Sendmail" mehtod, it says "An email was sent to: [email protected]". I have tried different email addresses and I never receive a test email. I need this setup for alerts that I am monitoring my servers. Can someone help me please?
Thanks,
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Mail Settings

Post by scottwilkerson »

I would look in /var/log/maillog to see if anything is standing out why the mail is rejected.

It could be something is misconfiguration in the MTA on the server.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sdoan01
Posts: 16
Joined: Fri Oct 07, 2011 4:28 pm

Re: Mail Settings

Post by sdoan01 »

How or where can I get CentOS Linux release 6.0 Kernel 2.6 32-131.17.1.eI6.i686 on an i686?

I just reinstalled Nagios using 6.2 and I still can't get sendmail or SMTP method to work. I have an CentOS 6.0 on a different server and "sendmail" works fine.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Mail Settings

Post by lmiltchev »

You can send an e-mail from the command line for troubleshooting purposes.

Create a simple text file:

Code: Select all

vi /tmp/test.txt
You can type in something or leave it empty.

Then run:

Code: Select all

/usr/lib/sendmail -v <your_email> < /tmp/test.txt
Review the output for errors and check your e-mail to see if you received the test message. Check your "spam" folder" as well (just in case it ends up there).
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked