Hi all,
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:
Code:
[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
set smtp=172.29.1.76
You have new mail in /var/spool/mail/root
[root@linux ~]#
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?
Thanks.