[Dovecot] listen to imap*s* on multiple ports?

Pascal Volk user+dovecot at localhost.localdomain.org
Sun Jan 17 16:32:52 EET 2010


On 01/17/2010 03:17 AM Rick Thomas wrote:
> Pascal Volk wrote:
>> http://dovecot.org/list/dovecot/2010-January/045874.html

> Hmmm... This doesn't work for me.  My dovecot.conf has
> 
>      protocol imap {
> 
>      # rbt - use conventional port for imap -- only used on local net
>       listen = *:143
>      # rbt - use modified port for imaps -- for those logging in from afar
>       ssl_listen = *:7993
>       ssl_listen = *:993
> 
>      }
> 
> I get:
> 
>     # invoke-rc.d dovecot restart
>     Restarting IMAP/POP3 mail server: dovecot
>     Fatal: ssl_listen: Can't resolve address *:7993 , *: Name or service 
> not known
>      failed!

Wrong syntax. Do not use multiple listen or ssl_listen settings per
protocol section, set multiple addresses per setting:
	ssl_listen = *:7993 *:993

> This is on a Debian Lenny system.  The version of Dovecot installed is 
> "1:1.0.15-2.3+lenny1"
> 
> Do I need a later version?

A space separated list of IP addresses/ports is configurable since
Dovecot v1.1{.alpha1}. A more recent version for Lenny is available in
the lenny-backports repository:
http://packages.debian.org/source/lenny-backports/dovecot


Regards,
Pascal
-- 
The trapper recommends today: beeffeed.1001715 at localdomain.org


More information about the dovecot mailing list