File patch-cyrus-default-configs of Package cyrus-imapd-3
106
1
diff --git a/doc/examples/imapd_conf/normal.conf b/doc/examples/imapd_conf/normal.conf
2
index 95b54e9..3935b77 100644
3
--- a/doc/examples/imapd_conf/normal.conf
4
+++ b/doc/examples/imapd_conf/normal.conf
5
@@ -10,7 +10,7 @@ admins: cyrus
6
###################################################################
7
8
# Configuration directory
9
-configdirectory: /var/lib/cyrus
10
+configdirectory: /var/lib/imap
11
12
# Directories for proc and lock files
13
proc_path: /run/cyrus/proc
14
@@ -19,18 +19,18 @@ mboxname_lockpath: /run/cyrus/lock
15
# Locations for DB files
16
# The following DB are recreated upon initialization, so should live in
17
# ephemeral storage for best performance.
18
-duplicate_db_path: /run/cyrus/deliver.db
19
-ptscache_db_path: /run/cyrus/ptscache.db
20
-statuscache_db_path: /run/cyrus/statuscache.db
21
-tls_sessions_db_path: /run/cyrus/tls_sessions.db
22
+duplicate_db_path: /run/cyrus/db/deliver.db
23
+ptscache_db_path: /run/cyrus/db/ptscache.db
24
+statuscache_db_path: /run/cyrus/db/statuscache.db
25
+tls_sessions_db_path: /run/cyrus/db/tls_sessions.db
26
27
# Which partition to use for default mailboxes
28
defaultpartition: default
29
-partition-default: /var/spool/cyrus/mail
30
+partition-default: /var/spool/imap
31
32
# If sieveusehomedir is false (the default), this directory is searched
33
# for Sieve scripts.
34
-sievedir: /var/spool/sieve
35
+sievedir: /var/lib/imap/sieve
36
37
###################################################################
38
## Important: KEEP THESE IN SYNC WITH cyrus.conf
39
@@ -51,19 +51,16 @@ syslog_prefix: cyrus
40
# Space-separated list of HTTP modules that will be enabled in
41
# httpd(8). This option has no effect on modules that are disabled at
42
# compile time due to missing dependencies (e.g. libical).
43
-#
44
-# Allowed values: caldav, carddav, domainkey, ischedule, rss
45
-httpmodules: caldav carddav
46
+# Fedora default: enable all modules besides admin and tzdist
47
+httpmodules: caldav carddav domainkey freebusy ischedule rss webdav
48
49
# If enabled, the partitions will also be hashed, in addition to the
50
# hashing done on configuration directories. This is recommended if one
51
# partition has a very bushy mailbox tree.
52
hashimapspool: true
53
54
-# Enable virtual domains
55
-# and set default domain to localhost
56
-virtdomains: yes
57
-defaultdomain: localhost
58
+# Disable virtual domains by default
59
+virtdomains: off
60
61
###################################################################
62
## User experience settings
63
@@ -72,6 +69,14 @@ defaultdomain: localhost
64
# Minimum time between POP mail fetches in minutes
65
popminpoll: 1
66
67
+# Conversation support is required for jmap
68
+conversations: 1
69
+conversations_db: twoskip
70
+
71
+# This will default to on in 3.1, and improves compatibility with some Apple
72
+# devices. Upstream https://github.com/cyrusimap/cyrus-imapd/issues/1556
73
+specialusealways: 1
74
+
75
###################################################################
76
## User Authentication settings
77
###################################################################
78
@@ -99,6 +104,12 @@ sasl_auto_transition: no
79
## SSL/TLS Options
80
###################################################################
81
82
+# These three files will automatically be generated by the systemd unit when
83
+# the service starts for the first time.
84
+tls_server_cert: /etc/pki/cyrus-imapd/cyrus-imapd.pem
85
+tls_server_key: /etc/pki/cyrus-imapd/cyrus-imapd-key.pem
86
+tls_client_ca_file: /etc/pki/cyrus-imapd/cyrus-imapd-ca.pem
87
+
88
# File containing the global certificate used for ALL services (imap,
89
# pop3, lmtp, sieve)
90
#tls_server_cert: /etc/ssl/certs/ssl-cert-snakeoil.pem
91
diff --git a/doc/examples/cyrus_conf/prefork.conf b/doc/examples/cyrus_conf/prefork.conf
92
index 186fe66..ab97848 100644
93
--- a/doc/examples/cyrus_conf/prefork.conf
94
+++ b/doc/examples/cyrus_conf/prefork.conf
95
@@ -19,8 +19,8 @@ SERVICES {
96
# nntps cmd="nntpd -s" listen="nntps" prefork=1
97
98
# these are only necessary if using HTTP for CalDAV, CardDAV, or RSS
99
-# http cmd="httpd" listen="http" prefork=3
100
-# https cmd="httpd -s" listen="https" prefork=1
101
+ http cmd="httpd" listen="http" prefork=3
102
+ https cmd="httpd -s" listen="https" prefork=1
103
104
# at least one LMTP is required for delivery
105
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
106