summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/templates/cyrus.conf.tpl44
-rw-r--r--share/templates/imapd.conf.tpl50
2 files changed, 94 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
+}
diff --git a/share/templates/imapd.conf.tpl b/share/templates/imapd.conf.tpl
new file mode 100644
index 0000000..fc41387
--- /dev/null
+++ b/share/templates/imapd.conf.tpl
@@ -0,0 +1,50 @@
+configdirectory: /var/lib/imap
+partition-default: /var/spool/imap
+admins: $admins
+sievedir: /var/lib/imap/sieve
+sendmail: /usr/sbin/sendmail
+sasl_pwcheck_method: auxprop saslauthd
+sasl_mech_list: PLAIN LOGIN
+allowplaintext: no
+tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
+tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
+tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
+# uncomment this if you're operating in a DSCP environment (RFC-4594)
+# qosmarking: af13
+auth_mech: pts
+pts_module: ldap
+ldap_servers: $ldap_servers
+ldap_sasl: 0
+ldap_base: $ldap_base
+ldap_bind_dn: $ldap_bind_dn
+ldap_password: $ldap_password
+ldap_filter: $ldap_filter
+ldap_user_attribute: $ldap_user_attribute
+ldap_group_base: $ldap_group_base
+ldap_group_filter: $ldap_group_filter
+ldap_group_scope: $ldap_group_scope
+ldap_member_base: $ldap_member_base
+ldap_member_method: $ldap_member_method
+ldap_member_attribute: $ldap_member_attribute
+ldap_restart: 1
+ldap_timeout: 10
+ldap_time_limit: 10
+unixhierarchysep: 1
+virtdomains: userid
+annotation_definitions: /etc/imapd.annotations.conf
+sieve_extensions: fileinto reject vacation imapflags notify envelope include relational regex subaddress copy
+allowallsubscribe: 0
+allowusermoves: 1
+altnamespace: 1
+hashimapspool: 1
+anysievefolder: 1
+fulldirhash: 0
+sieveusehomedir: 0
+sieve_allowreferrals: 0
+lmtp_downcase_rcpt: 1
+lmtp_fuzzy_mailbox_match: 1
+username_tolower: 1
+deletedprefix: DELETED
+delete_mode: delayed
+expunge_mode: delayed
+flushseenstate: 1