Kilburn Abrahams wrote on 12/11/2010:
On 12/11/2010 10:17 PM, Daniel Luttermann wrote:
Kilburn Abrahams wrote on 12/11/2010:
Hi,
What is the correct format to specify multple ports in dovecot 2.
With dovecot 1.2 listen = *:143 *:6188 worked fine. I cannot find
any mention in the wiki2 about the different combinations of
listen, address and port parameters and dovecot complains about
the combinations I tried.Does not seem to work
inet_listener imap { listen = *:143 *:6188 }
inet_listener imap { address = *:143 *:6188 }
inet_listener imap { port = 143, 6188 or port = 143 6188 }
This start dovecot, but roundcube will not connect on port 143,
although Thunderbird will connect on 1432 and 6188 listen = *, ::
- inet_listener imap { port 143 port = 6188 }
This should work:
listen = *:143, *:6188
-- Daniel
I tried that and get doveconf: Fatal: Error in configuration file
/etc/dovecot/dovecot.conf line 68: Unknown setting: listen. Line 68 refers to listen = *:143, *:6188
OK, it seems that it's needed to specify multiple ports this way:
service imap-login { inet_listener imap { port = 143 } inet_listener imap_second { port = 6188 } }
-- Daniel