> On Friday 18 January 2002 12:59 am, Jake McHenry wrote:
> > Hello everyone. Please get back to me as soon as possible with this
> > one. I just installed 7.2 on a new server here at work, and I can send
> > mail out, but I am not receiving anything. In the mailq of the sending
> > machine, I'm getting "Deferred: Connection refused by hostname". Please
> > let me know what I have to do to fix this!
> >
> > Thanks again,
> > Jake
> 
> Default Red Hat sendmail install? If so,
> In your sendmail.cf file, change:
> DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
> to
> dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
> To comment it out. Rebuild sencmail.cf with:
> cp /etc/sendmail.cf /etc/sendmail.cf.save
> m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
> service sendmail restart
> 
> The release notes cover this, I believe. By default, sendmail only 
> listens on 127.0.0.1

I'm glad to see this thread, I've had this question for a while too.

For me the line

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

is in the file /etc/mail/sendmail.mc
I think the corresponding line in sendmail.cf is:
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA

So, I changed the line in sendmail.mc as noted above and did the commands 
as above which changed the entry in my sendmail.cf file to:
O DaemonPortOptions=Name=MTA

I then restarted sendmail.

Well, it didn't work.  I'm still not recieving mail on my box.  The mail 
hasn't bounced back yet, but sometimes that takes days.

Any ideas?
blake






_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to