diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2020-05-06 00:53:22 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2020-05-06 00:53:22 +0000 |
commit | 507cfde0847515e7529b110e69ef2322a5cf37f4 (patch) | |
tree | b8ece634ba552bad49e2d395bbb89d3430c5a028 /user/dovecot/split-protocols.patch | |
parent | 7d6a83dbf478235cc84f3cdbd0d1ccb82c8514a1 (diff) | |
parent | ed2e5d142804bd69d296c39c6b861b8401718469 (diff) | |
download | packages-507cfde0847515e7529b110e69ef2322a5cf37f4.tar.gz packages-507cfde0847515e7529b110e69ef2322a5cf37f4.tar.bz2 packages-507cfde0847515e7529b110e69ef2322a5cf37f4.tar.xz packages-507cfde0847515e7529b110e69ef2322a5cf37f4.zip |
Merge branch 'user/dovecot' into 'master'
user/dovecot: import from Alpine with PAM
See merge request adelie/packages!442
Diffstat (limited to 'user/dovecot/split-protocols.patch')
-rw-r--r-- | user/dovecot/split-protocols.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/dovecot/split-protocols.patch b/user/dovecot/split-protocols.patch new file mode 100644 index 000000000..b4bed2ccb --- /dev/null +++ b/user/dovecot/split-protocols.patch @@ -0,0 +1,30 @@ +For each protocol $prot, which is moved into subpackage $subname, +is installed file /usr/share/dovecot/protocols.d/$subname.conf with: + + protocols = $protocols $prot + +--- a/doc/example-config/dovecot.conf ++++ b/doc/example-config/dovecot.conf +@@ -20,8 +20,9 @@ + # 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. ++#protocols = imap ++!include_try /usr/share/dovecot/protocols.d/*.conf + + # A comma separated list of IPs or hosts where to listen in for connections. + # "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces. +--- a/src/master/master-settings.c.orig ++++ b/src/master/master-settings.c +@@ -206,7 +206,7 @@ + .state_dir = PKG_STATEDIR, + .libexec_dir = PKG_LIBEXECDIR, + .instance_name = PACKAGE, +- .protocols = "imap pop3 lmtp", ++ .protocols = "imap", + .listen = "*, ::", + .ssl = "yes:no:required", + .default_internal_user = "dovecot", |