1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
From: Marco Nenciarini <mnencia@debian.org>
Date: Sat, 5 Mar 2011 11:19:07 +0100
Subject: split-protocols
Updated: Mon, 25 Nov 2013 20:11:59 -0500
Forwarded: no (Debian-specific)
Set default protocols value as empty and enable each
protocol in its own configuration file
---
doc/example-config/dovecot.conf | 4 ++--
src/master/master-settings.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/example-config/dovecot.conf b/doc/example-config/dovecot.conf
index b67e9eb..7e9953f 100644
--- a/doc/example-config/dovecot.conf
+++ b/doc/example-config/dovecot.conf
@@ -20,8 +20,8 @@
# options. The paths listed here are for configure --prefix=/usr
# --sysconfdir=/etc --localstatedir=/var
-# Protocols we want to be serving.
-#protocols = imap pop3 lmtp submission
+# Enable installed protocols
+!include_try /usr/share/dovecot/protocols.d/*.protocol
# A comma separated list of IPs or hosts where to listen in for connections.
# "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces.
diff --git a/src/master/master-settings.c b/src/master/master-settings.c
index 7cfaa35..48a9121 100644
--- a/src/master/master-settings.c
+++ b/src/master/master-settings.c
@@ -207,7 +207,7 @@ static const struct master_settings master_default_settings = {
.state_dir = PKG_STATEDIR,
.libexec_dir = PKG_LIBEXECDIR,
.instance_name = PACKAGE,
- .protocols = "imap pop3 lmtp",
+ .protocols = "",
.listen = "*, ::",
.ssl = "yes:no:required",
.default_internal_user = "dovecot",
|