Without an mta how do you expect the mail to be routed? I know of no way to get local mail without a daemon, but maybe I'm missing something. The reason you're getting connection refused is because there is no daemon listening. Also, to send a message use /bin/mail not sendmail.
<<JAV>> ---------- Original Message ----------- From: "MONGAN, DAVID (JSC-DV1) (UNI)" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Sent: Fri, 27 Jun 2003 11:18:36 -0500 Subject: Sendmail - mail from cron not working > When I login as root to check mail messages sent from cron I get nothing. > On my RH 7.3 system it works fine but not on my RH 9.0 system. > > I don't run the sendmail daemon on the RH 7.3 system but local mail works > but > not on the RH 9.0 system. > > How can I get local mail to work without running sendmail as a daemon? > > The relay settings in the latest sendmail may be the problem, this > is the error I get.... > > [EMAIL PROTECTED] mail]# sendmail -v [EMAIL PROTECTED] < /dev/null > [EMAIL PROTECTED] Connecting to [127.0.0.1] via relay... > [EMAIL PROTECTED] Deferred: Connection refused by [127.0.0.1] > > Also, when I do start the sendmail daemon, all of the previous messages > magically show up. > > I've looked at the release notes and played with the following option... > commented it out, etc.... > > DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl > > So what's the magic setting to allow local mail from cron jobs to > work without running sendmail as a daemon? > > Thanks > > David > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list ------- End of Original Message ------- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list