IMAP/POP Connection refused
Gordon Thagard
gordon at eng.fsu.edu
Thu Apr 14 10:30:21 EDT 2005
Yes, I did. But I added appropriate entries to the /etc/hosts.allow file
already:
# cat /etc/hosts.allow
sshd: ALL
sshdfwd-X11: ALL
imapd: ALL
pop3d: ALL
Igor Brezac wrote:
>
> Did you build cyrus-imapd with tcp wrappers?
>
> -Igor
>
> On Thu, 14 Apr 2005, Gordon Thagard wrote:
>
>> Solaris 9
>> cyrus-imapd-2.2.12
>> cyrus-sasl-2.1.20
>>
>> Hi, I've compiled both the SASL and IMAPD without incident. SASL is
>> working fine when I test it with Postfix. My problem is that I am
>> getting a connection refused error while trying to test the IMAP/POP3
>> daemons. One curious thing is that Cyrus is creating two listeners
>> for ports 110/143/993/995 and I was wondering if this is the cause of
>> my problem:
>>
>> # master &
>> # telnet machine 110
>> Trying x.x.x.x...
>> Connected to machine.
>> Escape character is '^]'.
>> Connection to machine closed by foreign host.
>> # telnet machine 143
>> Trying x.x.x.x...
>> Connected to machine.
>> Escape character is '^]'.
>> Connection to machine closed by foreign host.
>> # telnet machine 993
>> Trying x.x.x.x...
>> Connected to machine.
>> Escape character is '^]'.
>> Connection to machine closed by foreign host.
>> # telnet horus 995
>> Trying x.x.x.x...
>> Connected to machine.
>> Escape character is '^]'.
>> Connection to machine closed by foreign host.
>> # netstat -na | egrep '110|143|993|995'
>> *.143 *.* 0 0 49152 0 LISTEN
>> *.143 *.* 0 0 49152 0 LISTEN
>> *.993 *.* 0 0 49152 0 LISTEN
>> *.993 *.* 0 0 49152 0 LISTEN
>> *.110 *.* 0 0 49152 0 LISTEN
>> *.110 *.* 0 0 49152 0 LISTEN
>> *.995 *.* 0 0 49152 0 LISTEN
>> *.995 *.* 0 0 49152 0 LISTEN
>>
>> # pkill master
>> [1]+ Done master (wd: /)
>> # netstat -na | egrep '110|143|993|995'
>> # <nada, el blanko>
>> # tail /var/adm/imapd.log
>> Apr 14 09:32:25 machine master[18559]: [ID 965400 local6.notice]
>> process started
>> Apr 14 09:32:25 machine master[18560]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/ctl_cyrusdb
>> Apr 14 09:32:25 machine ctl_cyrusdb[18560]: [ID 702911 local6.notice]
>> recovering cyrus databases
>> Apr 14 09:32:25 machine ctl_cyrusdb[18560]: [ID 275131 local6.notice]
>> skiplist: recovered /var/imap/mailboxes.db (0 records, 144 bytes) in
>> 0 seconds
>> Apr 14 09:32:25 machine ctl_cyrusdb[18560]: [ID 275131 local6.notice]
>> skiplist: recovered /var/imap/annotations.db (0 records, 144 bytes)
>> in 0 seconds
>> Apr 14 09:32:25 machine ctl_cyrusdb[18560]: [ID 127214 local6.notice]
>> done recovering cyrus databases
>> Apr 14 09:32:25 machine master[18559]: [ID 139525 local6.notice]
>> ready for work
>> Apr 14 09:32:25 machine master[18561]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/ctl_cyrusdb
>> Apr 14 09:32:25 machine master[18562]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:25 machine ctl_cyrusdb[18561]: [ID 702911 local6.notice]
>> checkpointing cyrus databases
>> Apr 14 09:32:25 machine ctl_cyrusdb[18561]: [ID 854764 local6.error]
>> DBERROR: error listing log files: Permission denied
>> Apr 14 09:32:25 machine imap[18562]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:25 machine ctl_cyrusdb[18561]: [ID 686478 local6.error]
>> DBERROR: archive /var/imap/db: cyrusdb error
>> Apr 14 09:32:25 machine ctl_cyrusdb[18561]: [ID 578205 local6.debug]
>> archiving database file: /var/imap/annotations.db
>> Apr 14 09:32:25 machine ctl_cyrusdb[18561]: [ID 854764 local6.error]
>> DBERROR: error listing log files: Permission denied
>> Apr 14 09:32:25 machine ctl_cyrusdb[18561]: [ID 686478 local6.error]
>> DBERROR: archive /var/imap/db: cyrusdb error
>> Apr 14 09:32:25 machine ctl_cyrusdb[18561]: [ID 578205 local6.debug]
>> archiving database file: /var/imap/mailboxes.db
>> Apr 14 09:32:25 machine ctl_cyrusdb[18561]: [ID 127214 local6.notice]
>> done checkpointing cyrus databases
>> Apr 14 09:32:25 machine master[18563]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:25 machine master[18564]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/pop3d
>> Apr 14 09:32:25 machine imaps[18563]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:25 machine pop3[18564]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:25 machine master[18565]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/pop3d
>> Apr 14 09:32:25 machine master[18566]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/lmtpd
>> Apr 14 09:32:25 machine pop3s[18565]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:25 machine lmtpunix[18566]: [ID 518349 local6.debug]
>> executed
>> Apr 14 09:32:25 machine master[18568]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:25 machine master[18567]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:25 machine master[18569]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/pop3d
>> Apr 14 09:32:25 machine master[18570]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/pop3d
>> Apr 14 09:32:25 machine imaps[18568]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:25 machine pop3s[18570]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:25 machine pop3[18569]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:25 machine imap[18567]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine master[18571]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:27 machine master[18572]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:27 machine imap[18571]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine imap[18572]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine master[18573]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:27 machine master[18574]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:27 machine imap[18573]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine imap[18574]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine master[18575]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/pop3d
>> Apr 14 09:32:27 machine master[18576]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/pop3d
>> Apr 14 09:32:27 machine pop3[18575]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine pop3[18576]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine master[18577]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:27 machine master[18578]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:27 machine imap[18577]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine imap[18578]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine master[18579]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:27 machine master[18559]: [ID 310780 local6.debug]
>> process 18561 exited, status 0
>> Apr 14 09:32:27 machine master[18580]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/imapd
>> Apr 14 09:32:27 machine imap[18579]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine imap[18580]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine master[18581]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/pop3d
>> Apr 14 09:32:27 machine master[18582]: [ID 392559 local6.debug] about
>> to exec /opt/cyrus-imap/bin/pop3d
>> Apr 14 09:32:27 machine pop3[18581]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:27 machine pop3[18582]: [ID 518349 local6.debug] executed
>> Apr 14 09:32:33 machine pop3[18569]: [ID 998569 local6.error] refused
>> connection from machine
>> Apr 14 09:32:39 machine imap[18567]: [ID 998569 local6.error] refused
>> connection from machine
>> Apr 14 09:32:43 machine imaps[18568]: [ID 998569 local6.error]
>> refused connection from machine
>> Apr 14 09:32:47 machine pop3s[18570]: [ID 998569 local6.error]
>> refused connection from machine
>>
>> Any help is geratly appreciated.
>>
>> Thank you,
>>
>> Gordon Thagard
>> ---
>> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
>> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
>> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>>
>
--
Gordon Thagard, UNIX Systems Administrator
FAMU-FSU College of Engineering
Communications & Multimedia Services
2525 Pottsdammer Street, Suite A332-L
Tallahassee, FL 32310-6046
V: (850) 410-6449
F: (850) 410-6484
M: (850) 443-4220
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list