summaryrefslogtreecommitdiffstats
path: root/share/templates/cyrus.conf.tpl
diff options
context:
space:
mode:
authorPaul Boddie <paul@boddie.org.uk>2014-09-14 19:37:30 +0200
committerPaul Boddie <paul@boddie.org.uk>2014-09-14 19:37:30 +0200
commitda6dcb7886488b2f797c89f2fa33001bef162425 (patch)
tree49c67854fc945b74d8b9760fdf00c30e09f6fdb3 /share/templates/cyrus.conf.tpl
parent69b068bafb25086299674b3c6c28e9141880cec6 (diff)
downloadpykolab-da6dcb7886488b2f797c89f2fa33001bef162425.tar.gz
Handle apparent old-style and new-style Cyrus paths.dev/boddie-new/combined
Diffstat (limited to 'share/templates/cyrus.conf.tpl')
-rw-r--r--share/templates/cyrus.conf.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/templates/cyrus.conf.tpl b/share/templates/cyrus.conf.tpl
index 9a4a17a..acb1483 100644
--- a/share/templates/cyrus.conf.tpl
+++ b/share/templates/cyrus.conf.tpl
@@ -8,7 +8,7 @@ START {
idled cmd="idled"
}
-# UNIX sockets start with a slash and are put into /var/lib/imap/sockets
+# UNIX sockets start with a slash and are put into $imap_socket_dir
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=5
@@ -17,7 +17,7 @@ SERVICES {
pop3s cmd="pop3d -s" listen="pop3s" prefork=1
sieve cmd="timsieved" listen="sieve" prefork=0
- ptloader cmd="ptloader" listen="/var/lib/imap/ptclient/ptsock" prefork=0
+ ptloader cmd="ptloader" listen="$imap_socket_dir/ptsock" prefork=0
# these are only necessary if receiving/exporting usenet via NNTP
#nntp cmd="nntpd" listen="nntp" prefork=3
@@ -25,10 +25,10 @@ SERVICES {
# at least one LMTP is required for delivery
#lmtp cmd="lmtpd" listen="lmtp" prefork=0
- lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
+ lmtpunix cmd="lmtpd" listen="$imap_socket_dir/lmtp" prefork=1
# this is only necessary if using notifications
- notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1
+ notify cmd="notifyd" listen="$imap_socket_dir/notify" proto="udp" prefork=1
}
EVENTS {