Blame SOURCES/patch-cyrus-default-configs

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