[Dovecot] correct syntax for multiple ports

Kilburn Abrahams kilburna at gmail.com
Fri Nov 12 13:38:42 EET 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
>> 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
>
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



More information about the dovecot mailing list