cannot send mail in command prompt

Harold Hallikainen harold at hallikainen.com
Tue Oct 26 16:37:40 UTC 2004


On RH9, I believe you can also get there through the GUI menu. Select
services and look for sendmail. Select it and hit start or restart. You
can also hit the checkbox so it will start on the next reboot.

Harold

> Toto Gamez wrote:
>> lists,
>> I have redhat 9 installed in our remote office connected to the internet
>> via dsl with dynamic ip address. My problem is I created a mini script
>> (ifconfig ppp0|mail -s ipadd egamez at bonheur.com.ph
>> <mailto:egamez at bonheur.com.ph>) that will email the ip address every 2
>> hour to me so that I can access the server but emails are not send to
>> me. When I checked the logs it says
>> Naga sendmail[12014]: i9Q1HtJ5012014: to=egamez at bonheur.com.ph
>> <mailto:to=egamez at bonheur.com.ph>, ctladdr=root (0/0), delay=00:00:01,
>> xdelay=00:00:00, mailer=relay, pri=30041, relay=[127.0.0.1] [127.0.0.1],
>> dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
>> any suggestion
>
> You must have sendmail running on your RH9 box for it to work.  Try
> "service sendmail start" to start it.  Don't worry, the default
> configuration will not accept mail from the outside--only from itself.
>
> Use "chkconfig --level 2345 sendmail on" to set it so it starts
> automatically on boot.
> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
> - VitalStream, Inc.                       http://www.vitalstream.com -
> -                                                                    -
> -     If Bill Gates got a dime for every time Windows crashes...     -
> -              ...oh, wait.  He does.  THAT explains it!             -
> ----------------------------------------------------------------------
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
>


-- 
FCC Rules Online at http://www.hallikainen.com




More information about the Redhat-install-list mailing list