[Dovecot] Howto disable imap listener in dovecot 2.0
erik at logtenberg.eu
Thu Mar 11 01:58:14 EET 2010
Allright Timo, thanks for confirming.
When I do uncomment the "inet_listener imap" line and set the port to 0,
I get the following error message:
Mar 11 00:53:45 mbox dovecot: config: Fatal: Error in configuration file
/opt/dovecot-2.0.beta3/etc/dovecot/dovecot.conf: duplicate listener: 0:
What could I have done wrong?
I grepped for other "inet_listener" directives, but they are only
specified in master.conf and there is only one "inet_listener imap" and
one "inet_listener imaps" in there. So I can't find anything that's
On 03/11/2010 12:47 AM, Timo Sirainen wrote:
> On 11.3.2010, at 1.36, Erik Logtenberg wrote:
>> Thanks for the tip. Is setting the port to 0 actually a designed
>> feature, or is it merely a accidental behaviour of the current
>> implementation? (and as such prone to unannounced change)
> It's intentionally added feature. Also latest hg version automatically changes "protocols=imaps" to instead set imap port to 0 (while warning about obsolete setting).
>> Unfortunately the documentation doesn't mention the "port" directive at
>> all: http://wiki2.dovecot.org/MainConfig
>> In fact the usage of "imaps" in the "protocols" directive is still
>> documented, but that certainly doesn't work anymore.
> There is no documentation of v2.0 configs yet. wiki2 is still almost the same as wiki1.
More information about the dovecot