imap-ssl pop3d-ssl Unexpected SSL connection shutdown

Discussion in 'Server Operation' started by RioSif, Aug 20, 2013.

  1. RioSif

    RioSif Member

    Hello there,
    I have configured my courier email to work with ssl cert at ports 993 for imap and 995 for pop3.
    When i did this i get "imapd-ssl: Unexpected SSL connection shutdown." and "pop3d-ssl: Unexpected SSL connection shutdown." at the logs every one minute. I guess that the everyone minute is because ispconfig check every minute to see if the service is online and for some reason the connection shutdown. The email work just fine, it's just that i'm annoyed with the error and want to solve it out. I searched the web for a solution and tried some things like changing the protocol for TLS1_1 to SSL23 etc. I found out that if i change the SSLPORT at the pop3d-ssl.conf and imapd-ssl.conf to the non ssl ports (110 and 143) the error doesn't appear there.

    This is the netstat -tap output:
    Code:
    tcp        0      0 *:mysql                     *:*                         LISTEN      1400/mysqld 
    tcp        0      0 *:22123                     *:*                         LISTEN      1254/sshd   
    tcp        0      0 *:EtherNet/IP-1             *:*                         LISTEN      1610/pure-ftpd (SER
    tcp        0      0 *:urd                       *:*                         LISTEN      5012/master 
    tcp        0      0 secure.domain.org:domain       *:*                         LISTEN      1053/named  
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      1053/named  
    tcp        0      0 *:smtp                      *:*                         LISTEN      5012/master 
    tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      1053/named  
    tcp        0      0 localhost.localdomain:10024 *:*                         LISTEN      5320/amavisd (maste
    tcp        0      0 localhost.localdomain:10025 *:*                         LISTEN      5012/master 
    tcp        0      0 localhost.localdomain:42623 localhost.localdomain:mysql ESTABLISHED 5322/amavisd (ch7-a
    tcp        0      0 localhost.localdomain:mysql localhost.localdomain:42623 ESTABLISHED 1400/mysqld 
    tcp        0      0 localhost.localdomain:52244 localhost.localdomain:pop3s TIME_WAIT   -           
    tcp        0      0 localhost.localdomain:57578 localhost.loc:EtherNet/IP-1 TIME_WAIT   -           
    tcp        0      0 localhost.localdomain:56408 localhost.localdom:webcache TIME_WAIT   -           
    tcp        0      0 localhost.localdomain:47947 localhost.localdomain:imaps TIME_WAIT   -           
    tcp        0      0 localhost.localdomain:52227 localhost.localdomain:pop3s TIME_WAIT   -           
    tcp        0      0 localhost.localdomain:57584 localhost.loc:EtherNet/IP-1 TIME_WAIT   -           
    tcp        0      0 localhost.localdomain:43956 localhost.localdomain:mysql ESTABLISHED 5323/amavisd (ch7-a
    tcp        0      0 localhost.localdomain:36548 localhost.localdomain:https TIME_WAIT   -           
    tcp        0      0 localhost.localdomain:47953 localhost.localdomain:imaps TIME_WAIT   -           
    tcp        0   2276 secure.domain.org:22123        ppp089210020130.acces:49932 ESTABLISHED 1759/sshd   
    tcp        0      0 localhost.localdomain:48257 localhost.localdomai:domain TIME_WAIT   -           
    tcp        0      0 localhost.localdomain:mysql localhost.localdomain:43956 ESTABLISHED 1400/mysqld 
    tcp        0      0 localhost.localdomain:47959 localhost.localdomain:imaps TIME_WAIT   -           
    tcp        0      0 localhost.localdomain:52238 localhost.localdomain:pop3s TIME_WAIT   -           
    tcp        0      0 localhost.localdomain:55536 localhost.localdomain:http  TIME_WAIT   -           
    tcp        0      0 *:22123                     *:*                         LISTEN      1254/sshd   
    tcp        0      0 *:imap                      *:*                         LISTEN      27238/couriertcpd
    tcp        0      0 *:webcache                  *:*                         LISTEN      1596/httpd  
    tcp        0      0 *:http                      *:*                         LISTEN      1596/httpd  
    tcp        0      0 *:urd                       *:*                         LISTEN      5012/master 
    tcp        0      0 *:tproxy                    *:*                         LISTEN      1596/httpd  
    tcp        0      0 fe80::250:56ff:fe3c::domain *:*                         LISTEN      1053/named  
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      1053/named  
    tcp        0      0 *:smtp                      *:*                         LISTEN      5012/master 
    tcp        0      0 *:https                     *:*                         LISTEN      1596/httpd  
    tcp        0      0 *:imaps                     *:*                         LISTEN      27245/couriertcpd
    tcp        0      0 *:pop3s                     *:*                         LISTEN      27257/couriertcpd
    tcp        0      0 localhost.localdomain:http  localhost.localdomain:55546 TIME_WAIT   -           
    tcp        0      0 localhost.localdomain:http  localhost.localdomain:55552 TIME_WAIT   -    
    Any suggestion would be appreciated, thanks
     

Share This Page