I am running CentOS 5.5 and am trying to get Nagios to send out Emails.
After a bit of reading I have the following in my /etc/mail.rc file:
[root@linux ~]# cat /etc/mail.rc
set ask askcc append dot save crt
ignore Received Message-Id Resent-Message-Id Status Mail-From Return-Path Via
You have new mail in /var/spool/mail/root
I have Nagios setup correctly and introduced an error to generate an Email but nothing has come through.
I suppose I have two questions:
1. Is mail.rc setup correctly?
2. Can I test to see if mail.rc is working correctly?