> -----Original Message----- > From: MONGAN, DAVID (JSC-DV1) (UNI) > Sent: Friday, June 27, 2003 11:19 AM > To: '[EMAIL PROTECTED]' > 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?
I don't reaally know the "magic" setting to fix your problem, but you are now using sendmail release 8.12.x with RH9.0. With the 8.12.x release of sendmail, there is a MSA (mail submission agent) that you will probably have to disable in order to send mail without the daemon running. If I were in your shoes, I would probably start by looking at editing the /etc/mail/submit.mc file. To understand the MSA, start by reading /usr/share/sendmail-cf/README. BTW: You will have to load the sendmail-cf rpm. Steve Cowles -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list