RE: Testin new installation
Look at /etc/hosts ::1 is the ipv6 version of localhost.
Sent from Samsung tablet
-------- Original message -------- From Steve Matzura number6@noisynotes.com Date: 06/13/2015 6:00 AM (GMT-06:00) To dovecot dovecot@dovecot.org Subject Testin new installation The first place I went to for test advice and planning recommendations was http://wiki2.dovecot.org/TestInstallation - The very first test failed. Doc says: Next check that Dovecot is listening for connections: # telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot ready. If you got "connection refused", make sure that Dovecot is configured to serve the imap protocol and listening on the expected interfaces/addresses. The simplest way to do that would be using doveconf(1): # doveconf protocols listen protocols = imap pop3 lmtp sieve listen = *, :: If the protocols setting shouldn't contain imap so add it. Also make sure, that relevant !include or !try_include configuration lines are not commented. *** End doc extract *** 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.
On Sat, 13 Jun 2015 10:36:21 -0600, you wrote:
Look at /etc/hosts ::1 is the ipv6 version of localhost.
Right. I actually knew that. So why does that take precedence for the definition of localhost even though it's not the first line in the file?
On 06/13/2015 01:41 PM, Steve Matzura wrote:
On Sat, 13 Jun 2015 10:36:21 -0600, you wrote:
Look at /etc/hosts ::1 is the ipv6 version of localhost. Right. I actually knew that. So why does that take precedence for the definition of localhost even though it's not the first line in the file? IPv6 is preferred when available. See man 5 gai.conf
On Sat, 13 Jun 2015 13:59:25 -0400, you wrote:
On 06/13/2015 01:41 PM, Steve Matzura wrote:
On Sat, 13 Jun 2015 10:36:21 -0600, you wrote:
Look at /etc/hosts ::1 is the ipv6 version of localhost. Right. I actually knew that. So why does that take precedence for the definition of localhost even though it's not the first line in the file? IPv6 is preferred when available. See man 5 gai.conf
/etc/gai.conf does not exist. Further, on the system which I am trying to duplicate by upgrading to the latest version of o/s and layered products, their copy of /etc/gai.conf is nothing but comments and 'netstat -l46nbt' shows the same output, plus or minus a port or two.
participants (3)
-
edgar
-
Gedalya
-
Steve Matzura