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