[lug] sendmail not accepting

Riggs, Rob RRiggs at doubleclick.net
Wed Oct 31 11:28:18 MST 2001


I think the problem was discussed on this list a while back. The problem is
that Red Hat configures sendmail to bind to localhost only by default.

Comment out the line below from the /etc/mail/sendmail.mc (put a 'dnl ' in
front of it) and rebuild the sendmail.cf file (instructions at the top of
sendmail.mc).

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

-----Original Message-----
From: Gary Hodges [mailto:Gary.Hodges at noaa.gov]
Sent: Wednesday, October 31, 2001 11:02 AM
To: lug at lug.boulder.co.us
Subject: Re: [lug] sendmail not accepting


Chip Atkinson wrote:

> Can you ping the IP address of space?

Yes.

> You should verify that the IP address is the IP address of the machine
> that you are on.  Use ifconfig eth0 (assuming only one ethernet card).

~>/sbin/ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:10:5A:67:86:39
          inet addr:140.172.144.174  Bcast:140.172.144.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:628 errors:0 dropped:0 overruns:0 frame:0
          TX packets:235 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:92449 (90.2 Kb)  TX bytes:16343 (15.9 Kb)
          Interrupt:11 Base address:0xe000


Just for kicks...

~>ps auxw | grep sendmail
root       965  0.0  0.3  5300 1996 ?        S    10:55   0:00 sendmail:
accepting connections

Cheers,
Gary


> Gary Hodges wrote:
>
> > On a mostly fresh install of RH 7.2 I'm unable to send email to this
> > machine.  I can send mail from this machine to this machine, just not
> > from another machine.  If I run the following command :
> >
> > ~>telnet localhost 25
> > Trying 127.0.0.1...
> > Connected to localhost.
> > Escape character is '^]'.
> > 220 space.srrb.noaa.gov ESMTP Sendmail 8.11.6/8.11.6; Wed, 31 Oct 2001
> > 10:34:06 -0700
> >
> > If I run:
> > ~>telnet space 25
> > Trying 140.172.144.174...
> > telnet: connect to address 140.172.144.174: Connection refused
> >
> > So I guess sendmail is working, but for some reason it is not accepting
> > connections to the machine name.  I feel like it must be how I've set up
> > networking, but I've tried a bunch of different things there with no
> > luck.  I have also tried the "no firewall" setting.

_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list