[Dovecot] correct syntax for multiple ports

Daniel Luttermann daniel at dlutt.de
Fri Nov 12 13:17:11 EET 2010


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
> 1. inet_listener imap {
>         listen = *:143 *:6188
>     }
>
> 2. inet_listener imap {
>         address = *:143 *:6188
>     }
>
> 3. 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 = *, ::
> 1. inet_listener imap {
>          port 143
>          port = 6188
>     }

This should work:

  listen = *:143, *:6188


--
Daniel



More information about the dovecot mailing list