On Wed, 22 Apr 1998, Ping Lau wrote:

[snip]
> I didn't mention that I have ipfwadm running & don't whether or not it has
> anything to do with my problem.

Well, it could prevent connections if you are filtering traffic to the
POP port, but that doesn't sound like the problem. You're getting a
connection but the other end drops it. If it was ipfwadm, the kernel would
just discard the packets.

My suggestions:

1) Definitely make sure you have a POP server installed, like Tony said.
Doing "rpm -q imap" will tell you if the imap package is there -- if not,
install it.

2) Make sure your tcp_wrappers (tcpd) setup is allowing POP connections
from your IP. Sendmail is not run through tcpd by defalt, but your POP
server is set up to be. That would explain why you could connect to 25
but not 110. If you have "ALL:ALL" in hosts.deny, for instance, you'll
have to allow POP connections specifically. Connections that are denied
because of the tcp_wrappers should appear in /var/log/secure.

I'm guessing that this is the problem -- "Connection closed by foreign
host" is the message you'd get if it was. You can test this by putting the
following line in your hosts.allow:

ipop3d: ALL

Then do a "kill -HUP" of the inetd process.

If you're unfamilar with the tcp_wrappers (tcpd), you'll want to do some
reading on them. They're pretty important. Do:

man tcpd
man hosts_access

There's a really good section on them in the book "Practical Unix and
Internet Security" by Garfinkel and Spafford, which discusses some of the
cool, advanced features. That book is a really solid buy -- I strongly
recommend it.


Rich



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to