<HTML>
<HEAD>
<TITLE>Email Notifications</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi Everyone,<BR>
<BR>
I am having a problems with email notifications. They are not being sent. Below is the command from the commands.cfg that is being executed. I changed /usr/bin/printf to /usr/bin/mail. Is this wrong?<BR>
<BR>
Thanks.<BR>
<BR>
define command{<BR>
        command_name    host-notify-by-email<BR>
        command_line    /usr/bin/mail "%b" "***** Nagios 2.6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" |  -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$<BR>
        }<BR>
<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>