Joe,
Thanks for the reply.

As stated in the original message, I don't run the daemon
in RH 7.3 as well as other UNIX variants, Solaris and Tru64.
Without the daemon running I'm able to send mail on my local
machine to local userids ie from the command line..  mail root

The default settings in the updated sendmail on RH9.0 don't
allow local mail to work.
The functionality has been there to allow cron messages on a
standalone workstation to send messages to root.  The mail command
simply put the message in the local mail queue, a network daemon is
not needed for that.

David

-----Original Message-----
From: Joe Polk [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 1:49 PM
To: [EMAIL PROTECTED]
Subject: Re: Sendmail - mail from cron not working


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


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to