[lug] sendmail not accepting
John Hernandez
John.Hernandez at noaa.gov
Wed Oct 31 11:28:19 MST 2001
They may be binding only to the loopback interface by default. Try, as
root, 'lsof -i | grep sendmail'. You should see something like
sendmail 646 root 4u IPv4 1078 TCP *:smtp (LISTEN)
If the last two fields are localhost.localdomain:smtp (LISTEN) then
that's the problem. You'll need to tinker with
/usr/share/sendmail-cf/cf/redhat.mc and look for:
dnl This changes sendmail to only listen on the loopback device 127.0.0.1
dnl and not on any other network devices. Comment this out if you want
dnl to accept email over the network.
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
Then 'make redhat.cf' and 'cp redhat.cf /etc/sendmail.cf'
-John
Gary Hodges wrote:
> 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
>
--
- John Hernandez - Network Engineer - 303-497-6392 -
| National Oceanic and Atmospheric Administration |
| Mailstop R/OM12. 325 Broadway, Boulder, CO 80305 |
----------------------------------------------------
More information about the LUG
mailing list