Re: Linux firewalling by port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ken Rossman wrote:

1) I can "telnet localhost 25" on system "A" and that works (gets through
to sendmail just fine).


 2) If instead I used the command "telnet A 25", I get the following:
    "telnet: connect to address xxx.xxx.xxx.xxx: Connection refused"

3) I get the same "Connection refused" message when trying to telnet
to port 25 on system A from any other system on the LAN (as I guess
I would expect).

These are all normal, and to be expected with a _DEFAULT_ (Red Hat) sendmail installation.


 6) Since sendmail isn't listed amongst the xinetd daemons, that's not
    where it is enabled/disabled...

So what am I missing here???


You're missing the fact that a default RPM installation of sendmail only listens on localhost, nothing else. You need to remove, or comment out the localhost restrictions from sendmail.mc, and rebuild the cf file.

Sendmail (and a whole lot of other daemons) no longer use xinetd. Try 'chkconfig --list' and you'll see a bunch of stuff listed and what levels they come on or go off. That should help you a great deal.

--
W | I haven't lost my mind; it's backed up on tape somewhere.
 +--------------------------------------------------------------------
 Ashley M. Kirchner <mailto:ashley@xxxxxxxxxx>   .   303.442.6410 x130
 IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
 Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
 http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.





--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux