diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-05-03 11:19:42 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-05-03 11:19:42 +0100 |
commit | 6764a33c367188f5aa0eb5e9a682797e8cc7b149 (patch) | |
tree | 1c24192e2bc72c4155bc238950c478263d4ea7c0 /share/templates/cyrus.conf.tpl | |
parent | b152dd98b3a53ae3b91474e36eea50145a2b0649 (diff) | |
download | pykolab-6764a33c367188f5aa0eb5e9a682797e8cc7b149.tar.gz |
Add cyrus.conf and imapd.conf templates
Diffstat (limited to 'share/templates/cyrus.conf.tpl')
-rw-r--r-- | share/templates/cyrus.conf.tpl | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/share/templates/cyrus.conf.tpl b/share/templates/cyrus.conf.tpl new file mode 100644 index 0000000..9d6ac0f --- /dev/null +++ b/share/templates/cyrus.conf.tpl @@ -0,0 +1,44 @@ +# standard standalone server implementation + +START { + # do not delete this entry! + recover cmd="ctl_cyrusdb -r" + + # this is only necessary if using idled for IMAP IDLE + idled cmd="idled" +} + +# UNIX sockets start with a slash and are put into /var/lib/imap/sockets +SERVICES { + # add or remove based on preferences + imap cmd="imapd" listen="imap" prefork=5 + imaps cmd="imapd -s" listen="imaps" prefork=1 + pop3 cmd="pop3d" listen="pop3" prefork=3 + 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 + + # these are only necessary if receiving/exporting usenet via NNTP + #nntp cmd="nntpd" listen="nntp" prefork=3 + #nntps cmd="nntpd -s" listen="nntps" prefork=1 + + # 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 + + # this is only necessary if using notifications + notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1 +} + +EVENTS { + # this is required + checkpoint cmd="ctl_cyrusdb -c" period=30 + + # this is only necessary if using duplicate delivery suppression, + # Sieve or NNTP + delprune cmd="cyr_expire -E 3" at=0400 + + # this is only necessary if caching TLS sessions + tlsprune cmd="tls_prune" at=0400 +} |