Mailing List Archive

Support open source code!


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

Re: What's closing off port 25?



Thomas O'Dowd (tom@example.com) wrote:

> Have a look at /etc/rc.d/init.d/sendmail. It loads up access lists
> etc from /etc/mail directory. You should be able to see what it is
> doing.

I'd be really happy if I were getting far enough for that
to maatter :-)  This is strictly a case of:

telnet uucp.yamame.org 25
rying 203.216.22.19...
telnet: Unable to connect to remote host: Connection refused

Nothing in /etc/mail should come into play at that stage of
the game, and all those files are vanilla, too.  I can duplicate
this on my workstation, also running RH 7.1.  I can make a port 25
connection to a colleague's machine, which is running RH 7.0.
It won't relay, of course, but I can talk to sendmail.  Not
much is different there between 7.0 and 7.1 except that I have
firewalling on, but even if I shut down ipchains and remove
/etc/sysconfig/ipchains, it still does this.

Is it possible that shutting down ipchains doesn't really
turn off firewalling?  If I do /etc/rc.d/init.d/ipchains stop,
this operation leaves the following in syslog:

May 23 21:53:50 uucp ipchains: Removing user defined chains: succeeded
May 23 21:53:50 uucp ipchains: Resetting built-in chains to the default ACCEPT policy succeeded


I wonder if the default accept policy rules out port 25?  

Next question: where does one go to find out what the default
accept policy rules are?  the ipchains man page doesn't mention it.
You'd think it wouldn't matter, though. I have it set to accept
smtp, and I even tried it with a setting to trust anything
coming over eth0.  Still no dice.

Jonathan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links