Blame SOURCES/patch-cyrus-default-configs

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