<div>OK check this out..funny thing is regarding the path /bin/mail doesnt exist anywhere from the root i tryed tracing back so </div>
<div>i tryed executing this from the command line and i am able to recieve the email which now at least i know MTA is defintly working:   "I didnt put any argumetns as u can see this is just to test"</div>
<div> </div>
<div>usr/bin/sendmail -s  <a href="mailto:nedo72@gmail.com">nedo72@gmail.com</a> works from command line but not from commands.cfg??<br> </div>
<div>Now i editted the commands.cfg file copy and pasted the same exact above line, but doesnt send anything when i take down the host, I also had to tweak the linux firewall to allolw 25 in and out of that port.</div>
<div> </div>
<div>I did add nagios user and group that was when i configured apache and to accept external commands </div>
<div> </div>
<div>I cant answer that last question i dont even know wat kselinux is not to mention enabled , in one sentence wat is it and how does this affect emails for nagios on my issue</div>
<div> </div>
<div> </div>
<div>thanks  <br> </div>
<div><span class="gmail_quote">On 10/4/07, <b class="gmail_sendername">Hugo van der Kooij</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:hvdkooij@vanderkooij.org" target="_blank">hvdkooij@vanderkooij.org
</a>> wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Wed, 3 Oct 2007, Nedim Bicic wrote:<br><br>> Hey sounds good but what exctly am i exucuting at the commadn line 
<br>><br>> is this the line i am executing: i replaced $CONTACTEMAIL$ with my email<br>> address but says cant find directory i tried executing from root:<br>> su nagios s /bin/sh but says cant find directory ?? help please 
<br><br>Where did you leave all those dashes?<br><br>I said:<br>       su - nagios -s /bin/sh<br><br>> */bin/mail -s  "Host $HOSTSTATE$ alert for $HOSTNAME$!" $nedo72@gmail.com$*<br><br>Loose the $ signs. They mark 
variables.so they are most definitly wrong<br>around your email address.<br><br>PS: Uberquotes sucks ;-)<br><br>--<br>       <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:hvdkooij@vanderkooij.org" target="_blank">
hvdkooij@vanderkooij.org</a>        <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://hugo.vanderkooij.org/" target="_blank"> http://hugo.vanderkooij.org/</a><br>           This message is using 100% recycled electrons.
<br><br>A: Yes.<br>>Q: Are you sure?<br>>>A: Because it reverses the logical flow of conversation.<br>>>>Q: Why is top posting frowned upon? <br><br>       Some men see computers as they are and say "Windows"
<br>       I use computers with Linux and say "Why Windows?"<br>       (Thanks JFK, for this quote of George Bernard Shaw.)<br><br>------------------------------------------------------------------------- <br>This 
SF.net email is sponsored by: Splunk Inc.<br>Still grepping through log files to find problems?  Stop.<br>Now Search log events and configuration files using AJAX and a browser.<br>Download your FREE copy of Splunk now >> 
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://get.splunk.com/" target="_blank">http://get.splunk.com/</a><br>_______________________________________________<br>Nagios-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">
Nagios-users@lists.sourceforge.net </a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>