Jim Grimmett schrieb am Thu, Jan 24, 2002 at 04:07:36PM -0000:
[...]
> try IMAP (as I've instructed it) but the firewall lets IMAPS through
> and cyrus is giving the message
> 
> imapd: refused connection from xxx.xxx.xxx.xxx 
> 
> is it looking into hosts.allow (we're running redhat 6.2)? The client 
> is reporting an error and saying the server dropped us. Client
> is Outlook Express - but again is working fine on our internal
> network.
> 
> Absolutely _any_ thoughts welcome.

You can do two things to find out more:

 a. If it looks into /etc/hosts.allow, then the folling will show:

    $ strings /usr/sbin/imapd  | grep hosts
    /etc/hosts.allow
    /etc/hosts.deny
    @(#) hosts_access.c 1.21 97/02/12 02:13:22

    (as you see, on my RH7 box it does)

 b. To find out wether *that* is the reason to drop your connection,
    put into your hosts.deny a line like this:

    imapd: ALL: spawn (/usr/sbin/safe_finger -l \
        @%h | /bin/mail -s "%d-%c (%a)" root) &

    this will try to do a finger on the machine that wants to connect
    (you may disable that) and then creates a root mail about the
    case.


BTW: On stock RH boxes, connect attempts with tcp_wrappers compiled
in should be recorded into /var/log/secure.


Regards,

- Birger

Reply via email to