Blame SOURCES/patch-cyrus-default-configs

388f6b
diff --git a/doc/examples/cyrus_conf/prefork.conf b/doc/examples/cyrus_conf/prefork.conf
388f6b
index 4ce2c0f..3b1e6d7 100644
388f6b
--- a/doc/examples/cyrus_conf/prefork.conf
388f6b
+++ b/doc/examples/cyrus_conf/prefork.conf
388f6b
@@ -19,15 +19,15 @@ SERVICES {
388f6b
 #  nntps         cmd="nntpd -s" listen="nntps" prefork=1
388f6b
 
388f6b
   # these are only necessary if using HTTP for CalDAV, CardDAV, or RSS
388f6b
-#  http          cmd="httpd" listen="http" prefork=3
388f6b
-#  https         cmd="httpd -s" listen="https" prefork=1
388f6b
+  http          cmd="httpd" listen="http" prefork=3
388f6b
+  https         cmd="httpd -s" listen="https" prefork=1
388f6b
 
388f6b
   # at least one LMTP is required for delivery
388f6b
 #  lmtp          cmd="lmtpd" listen="lmtp" prefork=0
388f6b
-  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1
388f6b
+  lmtpunix      cmd="lmtpd" listen="/run/cyrus/socket/lmtp" prefork=1
388f6b
 
388f6b
   # this is only necessary if using notifications
388f6b
-#  notify        cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1
388f6b
+#  notify        cmd="notifyd" listen="/run/cyrus/socket/notify" proto="udp" prefork=1
388f6b
 }
388f6b
 
388f6b
 EVENTS {
388f6b
diff --git a/doc/examples/imapd_conf/normal.conf b/doc/examples/imapd_conf/normal.conf
388f6b
index 95b54e9..3935b77 100644
388f6b
--- a/doc/examples/imapd_conf/normal.conf
388f6b
+++ b/doc/examples/imapd_conf/normal.conf
388f6b
@@ -10,7 +10,7 @@ admins: cyrus
388f6b
 ###################################################################
388f6b
 
388f6b
 # Configuration directory
388f6b
-configdirectory: /var/lib/cyrus
388f6b
+configdirectory: /var/lib/imap
388f6b
 
388f6b
 # Directories for proc and lock files
388f6b
 proc_path: /run/cyrus/proc
388f6b
@@ -19,18 +19,18 @@ mboxname_lockpath: /run/cyrus/lock
388f6b
 # Locations for DB files
388f6b
 # The following DB are recreated upon initialization, so should live in
388f6b
 # ephemeral storage for best performance.
388f6b
-duplicate_db_path: /run/cyrus/deliver.db
388f6b
-ptscache_db_path:  /run/cyrus/ptscache.db
388f6b
-statuscache_db_path: /run/cyrus/statuscache.db
388f6b
-tls_sessions_db_path: /run/cyrus/tls_sessions.db
388f6b
+duplicate_db_path: /run/cyrus/db/deliver.db
388f6b
+ptscache_db_path:  /run/cyrus/db/ptscache.db
388f6b
+statuscache_db_path: /run/cyrus/db/statuscache.db
388f6b
+tls_sessions_db_path: /run/cyrus/db/tls_sessions.db
388f6b
 
388f6b
 # Which partition to use for default mailboxes
388f6b
 defaultpartition: default
388f6b
-partition-default: /var/spool/cyrus/mail
388f6b
+partition-default: /var/spool/imap
388f6b
 
388f6b
 # If sieveusehomedir is false (the default), this directory is searched
388f6b
 # for Sieve scripts.
388f6b
-sievedir: /var/spool/sieve
388f6b
+sievedir: /var/lib/imap/sieve
388f6b
 
388f6b
 ###################################################################
388f6b
 ## Important: KEEP THESE IN SYNC WITH cyrus.conf
388f6b
@@ -51,19 +51,16 @@ syslog_prefix: cyrus
388f6b
 # Space-separated list of HTTP modules that will be enabled in
388f6b
 # httpd(8).  This option has no effect on modules that are disabled at
388f6b
 # compile time due to missing dependencies (e.g. libical).
388f6b
-#
388f6b
-# Allowed values: caldav, carddav, domainkey, ischedule, rss
388f6b
-httpmodules: caldav carddav
388f6b
+# Enable supported modules
388f6b
+httpmodules: caldav carddav
388f6b
 
388f6b
 # If enabled, the partitions will also be hashed, in addition to the
388f6b
 # hashing done on configuration directories. This is recommended if one
388f6b
 # partition has a very bushy mailbox tree.
388f6b
 hashimapspool: true
388f6b
 
388f6b
-# Enable virtual domains
388f6b
-# and set default domain to localhost
388f6b
-virtdomains: yes
388f6b
-defaultdomain: localhost
388f6b
+# Disable virtual domains by default
388f6b
+virtdomains: off
388f6b
 
388f6b
 ###################################################################
388f6b
 ## User experience settings
388f6b
@@ -72,6 +69,14 @@ defaultdomain: localhost
388f6b
 # Minimum time between POP mail fetches in minutes
388f6b
 popminpoll: 1
388f6b
 
388f6b
+# Conversation support is required for jmap
388f6b
+conversations: 1
388f6b
+conversations_db: twoskip
388f6b
+
388f6b
+# This will default to on in 3.1, and improves compatibility with some Apple
388f6b
+# devices.  Upstream https://github.com/cyrusimap/cyrus-imapd/issues/1556
388f6b
+specialusealways: 1
388f6b
+
388f6b
 ###################################################################
388f6b
 ## User Authentication settings
388f6b
 ###################################################################
388f6b
@@ -99,6 +104,12 @@ sasl_auto_transition: no
388f6b
 ## SSL/TLS Options
388f6b
 ###################################################################
388f6b
 
388f6b
+# These three files will automatically be generated by the systemd unit when
388f6b
+# the service starts for the first time.
388f6b
+tls_server_cert: /etc/pki/cyrus-imapd/cyrus-imapd.pem
388f6b
+tls_server_key: /etc/pki/cyrus-imapd/cyrus-imapd-key.pem
388f6b
+tls_client_ca_file: /etc/pki/cyrus-imapd/cyrus-imapd-ca.pem
388f6b
+
388f6b
 # File containing the global certificate used for ALL services (imap,
388f6b
 # pop3, lmtp, sieve)
388f6b
 #tls_server_cert: /etc/ssl/certs/ssl-cert-snakeoil.pem