[Dovecot] ipv6 woes

Jason Fesler jfesler at gigo.com
Fri May 9 05:48:12 EEST 2008


I'm trying to bring up dovecot on a dual stack machine. I tried search for 
the answers; the answers I found and tried failed :-(.

If I try this:

protocol imap {
   listen = 216.218.228.114:143, [2001:470:1:18::114]:143
   ssl_listen = 216.218.228.114:993, [2001:470:1:18::114]:993
}
(and similiar for pop3)

I get:

Fatal: listen: Can't resolve address 216.218.228.114:143, 
[2001:470:1:18::114]: hostname nor servname provided, or not known


If I instead use:

protocol imap {
   listen = *, [::]
   ssl_listen = *, [::]
}

I get this error:

  Fatal: listen: Invalid port in address


This is while using dovecot 1.0.13
Build options: ioloop=kqueue notify=kqueue ipv6 openssl


Any recommendations?

-- 
  Jason Fesler, email/jabber <jfesler at gigo.com> resume: http://jfesler.com
  "Give a man fire, and he'll be warm for a day;
  set a man on fire, and he'll be warm for the rest of his life."


More information about the dovecot mailing list