<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>thanks guys its now working :)</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=rstevens@vitalstream.com href="mailto:rstevens@vitalstream.com">Rick
Stevens</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=redhat-install-list@redhat.com
href="mailto:redhat-install-list@redhat.com">Getting started with Red Hat
Linux</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, October 27, 2004 12:15
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: cannot send mail in command
prompt</DIV>
<DIV><BR></DIV>Toto Gamez wrote:<BR>> lists,<BR>> I have redhat 9
installed in our remote office connected to the internet <BR>> via dsl with
dynamic ip address. My problem is I created a mini script <BR>> (ifconfig
ppp0|mail -s ipadd <A
href="mailto:egamez@bonheur.com.ph">egamez@bonheur.com.ph</A> <BR>> <<A
href="mailto:egamez@bonheur.com.ph">mailto:egamez@bonheur.com.ph</A>>) that
will email the ip address every 2 <BR>> hour to me so that I can access the
server but emails are not send to <BR>> me. When I checked the logs it
says<BR>> Naga sendmail[12014]: i9Q1HtJ5012014: <A
href="mailto:to=egamez@bonheur.com.ph">to=egamez@bonheur.com.ph</A> <BR>>
<<A
href="mailto:to=egamez@bonheur.com.ph">mailto:to=egamez@bonheur.com.ph</A>>,
ctladdr=root (0/0), delay=00:00:01, <BR>> xdelay=00:00:00, mailer=relay,
pri=30041, relay=[127.0.0.1] [127.0.0.1], <BR>> dsn=4.0.0, stat=Deferred:
Connection refused by [127.0.0.1]<BR>> any suggestion<BR><BR>You must have
sendmail running on your RH9 box for it to work. Try<BR>"service
sendmail start" to start it. Don't worry, the default<BR>configuration
will not accept mail from the outside--only from itself.<BR><BR>Use "chkconfig
--level 2345 sendmail on" to set it so it starts<BR>automatically on
boot.<BR>----------------------------------------------------------------------<BR>-
Rick Stevens, Senior Systems Engineer <A
href="mailto:rstevens@vitalstream.com">rstevens@vitalstream.com</A> -<BR>-
VitalStream,
Inc.
<A href="http://www.vitalstream.com">http://www.vitalstream.com</A>
-<BR>-
-<BR>- If Bill Gates got a dime for every time Windows
crashes...
-<BR>-
...oh, wait. He does. THAT explains
it!
-<BR>----------------------------------------------------------------------<BR><BR><BR></BLOCKQUOTE></BODY></HTML>