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:995 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN tcp 0 0 <my-system's-address>:53 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:8001 0.0.0.0:* LISTEN tcp6 0 0 :::995 :::* LISTEN tcp6 0 0 :::110 :::* LISTEN tcp6 0 0 :::143 :::* LISTEN tcp6 0 0 :::80 :::* LISTEN tcp6 0 0 :::21 :::* LISTEN tcp6 0 0 :::53 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 ::1:953 :::* LISTEN tcp6 0 0 :::993 :::* LISTEN>dovecot process should appear with :143
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 :143Did you specify the p option? Then dovecot process name should appear. Try telnet 127.0.0.1 143 instead of localhost 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.
On Sat, 13 Jun 2015, Steve Matzura wrote:> 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.This is normal.>> 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> tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN> tcp6 0 0 :::143 :::* LISTEN> tcp6 0 0 :::993 :::* LISTENThis is also normal. If you want to do a complete check of a service on a dual-stack host you really do need to explicitly specify the host by every IP address you intend it to be listening on since the client's ultimate choice of which address to choose, if you simply leave it up to DNS and the client, is variable. Antonio Querubin e-mail: tony at lavanauts.org xmpp: antonioquerubin at gmail.com
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.