On Sat, 13 Jun 2015 20:41:01 +0200, you wrote:>Am Samstag, den 13.06.2015, 13:40 -0400 schrieb Steve Matzura: >> On Sat, 13 Jun 2015 14:16:30 +0200, you wrote: >> >> > Am Samstag, den 13.06.2015, 08:00 -0400 schrieb Steve Matzura: >> > > >> > > All of the above specified settings are correct. Yet, when I >> > > telnet >> > > localhost 143, I get: >> > > >> > > Trying ::1... # this is certainly suspect >> > > Escape character is '^['. >> > > Connection closed by foreign host. >> > >> > What does 'netstat -l46np' say? >> >> It doesn't look good. >> Active Internet connections (only servers) >> Proto Recv-Q Send-Q Local Address Foreign Address State > >> tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN >> >> >> > dovecot process should appear with :143 > >Did you specify the p option? Then dovecot process name should appear.Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 25239/dovecot tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 25239/dovecot tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 25239/dovecot tcp 0 0 <my-system's-ip-address>:53 0.0.0.0:* LISTEN 1111/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1111/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 11686/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1111/named tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 31857/icecast tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 25239/dovecot tcp 0 0 0.0.0.0:8001 0.0.0.0:* LISTEN 31857/icecast I eliminated the IPv6 lines for brevity.>Try telnet 127.0.0.1 143 instead of localhostWhen I telnet 127.0.0.1 143 from a non-root account, I get "Connection closed by foreign host." When I do it from root, it connects but I get no other response and have to ^] to disconnect.>telnet localhost seems to use the IPv6 localhost adress which isn't >used on dovecot side. >I assume you don't use much IPv6 on this system, so this is no problem >at all.That's right. IN fact, the only v6 used at all is for our audio streaming services.
On Sat, Jun 13, 2015 at 03:41:26PM -0400, Steve Matzura wrote:> >> > > Trying ::1... # this is certainly suspect > >> > > Escape character is '^['. > >> > > Connection closed by foreign host.This means the daemon is listening but errors out before able to process. Check the logs. Might be a dependency not starting, wrong permissions, certificate wrong/expired, etc.. B
On Sat, 13 Jun 2015 21:57:06 +0200, you wrote:>On Sat, Jun 13, 2015 at 03:41:26PM -0400, Steve Matzura wrote: >> >> > > Trying ::1... # this is certainly suspect >> >> > > Escape character is '^['. >> >> > > Connection closed by foreign host. > >This means the daemon is listening but errors out before able to process. >Check the logs. >Might be a dependency not starting, wrong permissions, certificate wrong/expired, etc..Oh yes! Sorry for not having checked this before. Jun 13 18:50:56 <my-node> dovecot: master: Error: service(pop3-login): command startup failed, throttling for 2 secs Jun 13 19:30:26 <my-node> dovecot: imap-login: Error: SSL: Stacked error: error:0608308E:digital envelope routines:EVP_PKEY_get1_EC_KEY:expecting a ec key Jun 13 19:30:26 <my-node> dovecot: imap-login: Fatal: Can't load ssl_cert: error:0906D06C:PEM routines:PEM_read_bio:no start line Jun 13 19:30:26 <my-node> dovecot: master: Error: service(imap-login): command startup failed, throttling for 60 secs Jun 13 19:31:27 <my-node> dovecot: imap-login: Error: SSL: Stacked error: error:0608308E:digital envelope routines:EVP_PKEY_get1_EC_KEY:expecting a ec key Jun 13 19:31:27 <my-node> dovecot: imap-login: Fatal: Can't load ssl_cert: error:0906D06C:PEM routines:PEM_read_bio:no start line Jun 13 19:31:27 <my-node> dovecot: master: Error: service(imap-login): command startup failed, throttling for 60 secs Jun 13 19:33:04 <my-node> dovecot: imap-login: Error: SSL: Stacked error: error:0608308E:digital envelope routines:EVP_PKEY_get1_EC_KEY:expecting a ec key Jun 13 19:33:04 <my-node> dovecot: imap-login: Fatal: Can't load ssl_cert: error:0906D06C:PEM routines:PEM_read_bio:no start line Jun 13 19:33:04 <my-node> dovecot: master: Error: service(imap-login): command startup failed, throttling for 60 secs I thought this was a possibility. It probably means I have concatenated incorrect elements to form the certificate files.