<div>Your definitly right about only sending from the root  (usr/bin/sendmail) not a typo i tried that since /bin/mail didnt work for me so i thought i would try it out cause thats all it can do i tried placing that in the commands cfg obviusly didnt work... now i also tried making the user root and gave it permission but now i think i played way to much with mail and sendmail i screwed it up big time with the permissions.....wat i think will end up doing is reinstalling nagios again..crap
</div>
<div> </div>
<div>I didnt know that sendmail and mail are two different i guess i was wrong .. i mean i did installation word by word as written in manaul i have everything working expet email ?</div>
<div> </div>
<div>one small question is bin/mail a relay client ? and where is $contactemail$ defined anywhere except commands.cfg<br> </div>
<div>i see in the nagios.log file as mention in my eearlier posts that i see its trying to send it out but keeps getting line code error 127 unkown email address (which is my gmail)<br><br> </div>
<div><span class="gmail_quote">On 10/4/07, <b class="gmail_sendername">Hugo van der Kooij</b> <<a href="mailto:hvdkooij@vanderkooij.org">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 Thu, 4 Oct 2007, Nedim Bicic right about only sending from the root casue thats all it can do i tried placing that in the commands cfg obviusly didnt work... now i also tried making the user root and gave it permission 
<br><br>> OK check this out..funny thing is regarding the path /bin/mail doesnt exist<br>> anywhere from the root i tryed tracing back so<br>> i tryed executing this from the command line and i am able to recieve the
<br>> email which now at least i know MTA is defintly working:   "I didnt put any<br>> argumetns as u can see this is just to test"<br>><br>> usr/bin/sendmail -s  <a href="mailto:nedo72@gmail.com">nedo72@gmail.com
</a> works from command line but not from<br>> commands.cfg??<br><br>Wether it is sloppiness or a typo is not clear to me. But<br>/usr/bin/sendmail is something entirely different from usr/bin/sendmail<br><br>The second option will only happen to work if you happen to be in the root
<br>directory. It will fail from any other directory.<br><br>Please be a 1000% more accurate. Because it will get back at you with in<br>ways you do not seem to comprehend yet.<br><br>Hugo.<br><br>--<br>       <a href="mailto:hvdkooij@vanderkooij.org">
hvdkooij@vanderkooij.org</a>        <a href="http://hugo.vanderkooij.org/">http://hugo.vanderkooij.org/</a><br>           This message is using 100% recycled electrons.<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 href="http://get.splunk.com/">http://get.splunk.com/</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net
</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">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>