summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hoffend <dh@dotlan.net>2020-01-13 14:08:38 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2020-01-13 14:08:38 +0100
commit5c4678f02488845d7a8d256ef2129b36b1101c97 (patch)
treed56fd32276914300a1e5d9f1a6b1f1dd994dd48e
parent0e66fae6ac8c8f5fa7ddffa2a8a6e384fe20bc4b (diff)
downloadpykolab-5c4678f02488845d7a8d256ef2129b36b1101c97.tar.gz
move ptloader socket file into the shared socket directory
Summary: In a Debian 10 default installation the folder for the ptloader socket is missing `/var/lib/imap/ptclient/ptsock`. The folder gets created after the first start by ptclient, but it's too late for the socket. After the 2nd restart everything works fine as expected. IMO it makes more sense to move the ptloader socket file into the shared socket folder where all the other cyrus daemons have theirs: `/var/lib/imap/socket/ptsock`. This change only affects new installations. Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Subscribers: vanmeeuwen, balabadrasridhar212 Differential Revision: https://git.kolab.org/D889
-rw-r--r--share/templates/cyrus.conf.tpl2
-rw-r--r--share/templates/imapd.conf.tpl1
2 files changed, 2 insertions, 1 deletions
diff --git a/share/templates/cyrus.conf.tpl b/share/templates/cyrus.conf.tpl
index 3118aab..1d9b4c7 100644
--- a/share/templates/cyrus.conf.tpl
+++ b/share/templates/cyrus.conf.tpl
@@ -13,7 +13,7 @@ SERVICES {
sieve cmd="timsieved" listen="sieve" prefork=0
- ptloader cmd="ptloader" listen="/var/lib/imap/ptclient/ptsock" prefork=0
+ ptloader cmd="ptloader" listen="/var/lib/imap/socket/ptsock" prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
diff --git a/share/templates/imapd.conf.tpl b/share/templates/imapd.conf.tpl
index 72269fb..0703a22 100644
--- a/share/templates/imapd.conf.tpl
+++ b/share/templates/imapd.conf.tpl
@@ -12,6 +12,7 @@ tls_server_key: /etc/pki/cyrus-imapd/cyrus-imapd.pem
# qosmarking: af13
auth_mech: pts
pts_module: ldap
+ptloader_sock: /var/lib/imap/socket/ptsock
ldap_servers: $ldap_servers
ldap_sasl: 0
ldap_base: $ldap_base